Skip to content

Commit

Permalink
Upgrade versions of github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Obi-Dann committed May 2, 2023
1 parent 8d2d366 commit 4b9348d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,29 @@ jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: |
npm ci
- run: |
npm run all
- name: Verify no unstaged changes
run: __test__/verify-no-unstaged-changes.sh

test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./


pr-build-test:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '12'
node-version: '16'
- run: |
npm ci
- run: |
Expand Down

0 comments on commit 4b9348d

Please sign in to comment.