quotes #7
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: CI | ||
on: [push, pull_request] | ||
env: | ||
CI: true | ||
jobs: | ||
test: | ||
name: Tests for Node ${{ matrix.node }} on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node: [16, 18, 20, 22] | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
steps: | ||
- name: Clone repository | ||
uses: actions/checkout@v4 | ||
- name: Set Node.js version | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- run: node --version | ||
- run: npm --version | ||
- run: where.exe npm | ||
if: ${{ matrix.os == "windows-latest" }} | ||
Check failure on line 30 in .github/workflows/ci.yml GitHub Actions / CIInvalid workflow file
|
||
- name: Install npm dependencies | ||
run: npm install | ||
- name: Run tests | ||
run: npm test |