Skip to content

Commit 1a2ced8

Browse files
authored
Update node.js.yml
1 parent 3fbc4e6 commit 1a2ced8

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/node.js.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,20 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
node: [14.21.3]
10+
node: ['12', '14']
1111
steps:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
1515
node-version: ${{ matrix.node }}
1616
cache: 'npm'
17-
- uses: webfactory/ssh-agent@v0.7.0
17+
- uses: webfactory/ssh-agent@v0.5.4
1818
with:
1919
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
2020
- name: Add Know Hosts
2121
run: |
2222
ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts
2323
shell: bash
24-
- name: Install dependencies and regenerate package-lock.json
25-
run: npm install
2624
- name: Clean install on CI
2725
run: npm ci
2826
- name: Linter code check
@@ -37,9 +35,9 @@ jobs:
3735
- uses: actions/checkout@v3
3836
- uses: actions/setup-node@v3
3937
with:
40-
node-version: 14.21.3
38+
node-version: '12.22.6'
4139
cache: 'npm'
42-
- uses: webfactory/ssh-agent@v0.7.0
40+
- uses: webfactory/ssh-agent@v0.5.4
4341
with:
4442
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
4543
- name: Add Know Hosts
@@ -51,7 +49,7 @@ jobs:
5149
- name: Build library
5250
run: npm run build
5351
- name: Release version
54-
run: npx semantic-release@18
52+
run: npx semantic-release@17
5553
env:
5654
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5755
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -63,9 +61,9 @@ jobs:
6361
- uses: actions/checkout@v3
6462
- uses: actions/setup-node@v3
6563
with:
66-
node-version: 14.21.3
64+
node-version: '12.22.6'
6765
cache: 'npm'
68-
- uses: webfactory/ssh-agent@v0.7.0
66+
- uses: webfactory/ssh-agent@v0.5.4
6967
with:
7068
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
7169
- name: Add Know Hosts
@@ -78,4 +76,3 @@ jobs:
7876
env:
7977
GH_TOKEN: eclass:${{ secrets.GITHUB_TOKEN }}
8078
run: npm run deploy-storybook -- --source-branch=main
81-

0 commit comments

Comments
 (0)