mirror of
https://github.com/actions/setup-node.git
synced 2025-04-24 04:20:49 +00:00
Update build-test.yml
This commit is contained in:
parent
5c355be170
commit
95363675ab
1 changed files with 4 additions and 9 deletions
13
.github/workflows/build-test.yml
vendored
13
.github/workflows/build-test.yml
vendored
|
@ -16,17 +16,12 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
os: [ubuntu-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup node 12
|
||||
- name: Setup node 14
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 12.x
|
||||
- run: npm ci
|
||||
node-version: 14.x
|
||||
- run: npm run build
|
||||
- run: npm run format-check
|
||||
- run: npm test
|
||||
- name: Verify no unstaged changes
|
||||
if: runner.os != 'windows'
|
||||
run: __tests__/verify-no-unstaged-changes.sh
|
||||
- run: npm run:test
|
||||
|
|
Loading…
Add table
Reference in a new issue