Skip to content

Commit

Permalink
Update to Node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
mskelton committed Dec 5, 2023
1 parent 7c69101 commit 6e5374d
Showing 1 changed file with 13 additions and 18 deletions.
31 changes: 13 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,21 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 18.x
cache: yarn
- run: yarn install --immutable
- run: yarn lint
- run: yarn prettier --check .
- run: yarn tsc --noEmit
- uses: mskelton/setup-yarn@v2
- name: Lint
run: yarn lint
- name: Check styling
run: yarn prettier --check .
- name: Type check
run: yarn tsc --noEmit
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 18.x
cache: yarn
- run: yarn install --immutable
- run: yarn playwright install chromium
- run: yarn test
- uses: mskelton/setup-yarn@v2
- name: Install Playwright deps
run: yarn playwright install chromium
- name: Test
run: yarn test
- uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
Expand All @@ -37,7 +32,7 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: mskelton/setup-yarn@v1
- uses: mskelton/setup-yarn@v2
- name: Build
run: yarn build
- name: Release
Expand Down

0 comments on commit 6e5374d

Please sign in to comment.