Skip to content

Commit

Permalink
use node 18 in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mildronize committed May 26, 2023
1 parent d4a267d commit 6ae3750
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ jobs:
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: '18'

- name: Cache pnpm modules
uses: actions/cache@v2
with:
Expand All @@ -33,10 +37,13 @@ jobs:
restore-keys: |
${{ runner.os }}-
- uses: pnpm/action-setup@v2.1.0
- uses: pnpm/action-setup@v2.2.4
with:
version: 6.0.2
run_install: true
version: 8

- name: pnpm Install
run: pnpm install --frozen-lockfile
working-directory: ${{ env.working-directory }}

- name: Test
run: pnpm test:ci
Expand Down

0 comments on commit 6ae3750

Please sign in to comment.