Skip to content

Commit

Permalink
update node in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneswilm committed Apr 6, 2024
1 parent b811cab commit 1d9967d
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- name: Build JS bundle
run: npm install
- name: Build site
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ name: Check lints
on: [pull_request, push]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Lints
run: npm run lint
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Lints
run: npm run lint
34 changes: 17 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ name: Check tests
on: [pull_request, push]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Chrome
run: sudo apt update && sudo apt install -y google-chrome-stable
- run: /usr/bin/google-chrome-stable --version
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm install
- uses: jamesmortensen/chromedriver-matcher-action@v1
- name: Tests
run: npm test
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Chrome
run: sudo apt update && sudo apt install -y google-chrome-stable
- run: /usr/bin/google-chrome-stable --version
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
- uses: jamesmortensen/chromedriver-matcher-action@v1
- name: Tests
run: npm test

0 comments on commit 1d9967d

Please sign in to comment.