Skip to content

Commit

Permalink
simplify tests, upgrade node
Browse files Browse the repository at this point in the history
  • Loading branch information
mnyrop committed Jul 19, 2024
1 parent c4cc3eb commit 1cb2423
Show file tree
Hide file tree
Showing 5 changed files with 777 additions and 654 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@ jobs:
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 'v18.16.0'
node-version: 'v21.6.2'
- name: install
run: npm install
- name: test build
run: npm run test:build
- name: test a11y
run: npm run test
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
run: npm run test:a11y
- name: build for deployment
run: npm run build
- name: deploy
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ jobs:
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 'v18.16.0'
node-version: 'v21.6.2'
- name: install
run: npm install
- name: test build
run: npm run test:build
- name: test a11y
run: npm run test
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
run: npm run test:a11y
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.16.0
v21.6.2
Loading

0 comments on commit 1cb2423

Please sign in to comment.