PR-926282: updating packages and fixing CI commands.

This commit is contained in:
2022-08-01 15:02:40 +00:00
parent f7bb9e4daf
commit 91da8d2657
4 changed files with 97 additions and 48 deletions

View File

@ -11,6 +11,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm test

View File

@ -4,15 +4,12 @@ on:
pull_request:
branches: ['*']
jobs:
build:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
@ -20,5 +17,17 @@ jobs:
with:
node-version: 16
cache: 'npm'
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm test
- run: npm test
test-build-package:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build