deps: bump openai from 4.24.1 to 4.24.2 in /examples/nextjs-14-openai #444
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Run tests" | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: "Run tests (OS: ${{matrix.os}}, Node: ${{ matrix.node }})" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [18, 20] | |
os: [ubuntu-latest] | |
steps: | |
# Environment security | |
- name: Step Security | |
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1 | |
with: | |
egress-policy: audit | |
# Checkout | |
# Most toolchains require checkout first | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# Language toolchains | |
- name: Install Node | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node }} | |
# Workflow | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
- name: Run tests | |
run: npm test |