Apply test action fixes to correct file

This commit is contained in:
Patrick Carlisle
2022-06-15 16:29:44 -07:00
parent 3b63e35f41
commit 512e25ab4f
2 changed files with 29 additions and 33 deletions
+17 -8
View File
@@ -10,13 +10,22 @@ on: # rebuild any PRs and main branch changes
- 'releases/*'
jobs:
build: # make sure build/ci work properly
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
npm ci
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- run: |
npm run all
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: 'https://npm.pkg.github.com'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- run: npm ci --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- run: npm rebuild && npm run all