Skip to content

Commit ee48656

Browse files
committed
Specify Node version 16
1 parent 8e934fe commit ee48656

1 file changed

Lines changed: 5 additions & 14 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,15 @@ on:
66
- development
77

88
jobs:
9-
install-and-test:
9+
setup-node:
1010
runs-on: ubuntu-latest
11-
strategy:
12-
matrix:
13-
node-version: [16.x, 18.x, 19.x]
11+
1412
steps:
1513
- uses: actions/checkout@master
16-
- name: Use Node.js ${{ matrix.node-version }}
14+
- name: Use Node.js 16
1715
uses: actions/setup-node@master
1816
with:
19-
node-version: ${{ matrix.node-version }}
20-
21-
- name: Install and Test
22-
run: |
23-
yarn
24-
yarn test
25-
env:
26-
CI: true
17+
node-version: 16
2718

2819
build-and-deploy:
2920
runs-on: ubuntu-latest
@@ -42,7 +33,7 @@ jobs:
4233
CI: false
4334

4435
- name: Deploy to Github Pages 🚀
45-
uses: JamesIves/github-pages-deploy-action@v4.2.5
36+
uses: JamesIves/github-pages-deploy-action@v4.4.1
4637
with:
4738
branch: master # The branch the action should deploy to.
4839
folder: build # The folder the action should deploy.

0 commit comments

Comments
 (0)