Fix npm command #26
This file contains hidden or 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: "Build tests" | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
linux_test_job: | |
runs-on: ubuntu-latest | |
name: Linux test | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: npm i | |
- run: npm run build | |
- run: npm link && cty2json -v | |
mac_test_job: | |
runs-on: macos-latest | |
name: macOS test | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: npm i | |
- run: npm run build | |
- run: npm link && cty2json -v | |
win_test_job: | |
runs-on: windows-latest | |
name: Windows test | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: npm i | |
- run: npm run build | |
- run: npm link && cty2json -v |