Skip to content

Commit

Permalink
Updated node versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
amyjko committed Oct 25, 2023
1 parent b161595 commit 4bb33fe
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/vitest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@
name: Run all tests

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
push:
branches: ['main']
pull_request:
branches: ['main']

jobs:
build:
runs-on: ubuntu-latest
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]
strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
name: Install dependencies
- run: npm test
name: Run vitest
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
name: Install dependencies
- run: npm test
name: Run vitest

0 comments on commit 4bb33fe

Please sign in to comment.