|
7 | 7 | runs-on: ubuntu-latest
|
8 | 8 | strategy:
|
9 | 9 | matrix:
|
10 |
| - node: [14.21.3] |
| 10 | + node: ['12', '14'] |
11 | 11 | steps:
|
12 | 12 | - uses: actions/checkout@v3
|
13 | 13 | - uses: actions/setup-node@v3
|
14 | 14 | with:
|
15 | 15 | node-version: ${{ matrix.node }}
|
16 | 16 | cache: 'npm'
|
17 |
| - - uses: webfactory/ssh-agent@v0.7.0 |
| 17 | + - uses: webfactory/ssh-agent@v0.5.4 |
18 | 18 | with:
|
19 | 19 | ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
20 | 20 | - name: Add Know Hosts
|
21 | 21 | run: |
|
22 | 22 | ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts
|
23 | 23 | shell: bash
|
24 |
| - - name: Install dependencies and regenerate package-lock.json |
25 |
| - run: npm install |
26 | 24 | - name: Clean install on CI
|
27 | 25 | run: npm ci
|
28 | 26 | - name: Linter code check
|
|
37 | 35 | - uses: actions/checkout@v3
|
38 | 36 | - uses: actions/setup-node@v3
|
39 | 37 | with:
|
40 |
| - node-version: 14.21.3 |
| 38 | + node-version: '12.22.6' |
41 | 39 | cache: 'npm'
|
42 |
| - - uses: webfactory/ssh-agent@v0.7.0 |
| 40 | + - uses: webfactory/ssh-agent@v0.5.4 |
43 | 41 | with:
|
44 | 42 | ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
45 | 43 | - name: Add Know Hosts
|
|
51 | 49 | - name: Build library
|
52 | 50 | run: npm run build
|
53 | 51 | - name: Release version
|
54 |
| - run: npx semantic-release@18 |
| 52 | + run: npx semantic-release@17 |
55 | 53 | env:
|
56 | 54 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
57 | 55 | NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
63 | 61 | - uses: actions/checkout@v3
|
64 | 62 | - uses: actions/setup-node@v3
|
65 | 63 | with:
|
66 |
| - node-version: 14.21.3 |
| 64 | + node-version: '12.22.6' |
67 | 65 | cache: 'npm'
|
68 |
| - - uses: webfactory/ssh-agent@v0.7.0 |
| 66 | + - uses: webfactory/ssh-agent@v0.5.4 |
69 | 67 | with:
|
70 | 68 | ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
71 | 69 | - name: Add Know Hosts
|
|
78 | 76 | env:
|
79 | 77 | GH_TOKEN: eclass:${{ secrets.GITHUB_TOKEN }}
|
80 | 78 | run: npm run deploy-storybook -- --source-branch=main
|
81 |
| - |
0 commit comments