Skip to content

Commit 836b35d

Browse files
committed
ci: 🎡 update github actions
1 parent 0d69c07 commit 836b35d

File tree

1 file changed

+23
-29
lines changed

1 file changed

+23
-29
lines changed

‎.github/workflows/ci.yml

Lines changed: 23 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,33 @@
1-
name: CI
1+
name: Keys Manager
2+
23
on: [push, pull_request]
4+
35
jobs:
46
build:
57
runs-on: ubuntu-latest
68
steps:
7-
- uses: actions/checkout@v2
8-
- uses: actions/setup-node@v2
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-node@v3
911
with:
10-
node-version: '14'
11-
- name: use cache
12-
uses: actions/cache@v2
13-
with:
14-
path: |
15-
node_modules
16-
*/*/node_modules
17-
/home/runner/.cache/Cypress
18-
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
19-
- run: npm i -g [email protected]
20-
- run: npm i
21-
- run: npm run build
12+
node-version: '18'
13+
cache: npm
14+
15+
- name: Install dependencies
16+
run: npm i
17+
18+
- name: Run build
19+
run: npm run build
2220
test:
2321
runs-on: ubuntu-latest
2422
steps:
25-
- uses: actions/checkout@v2
26-
- uses: actions/setup-node@v2
27-
with:
28-
node-version: '14'
29-
- name: use cache
30-
uses: actions/cache@v2
23+
- uses: actions/checkout@v3
24+
- uses: actions/setup-node@v3
3125
with:
32-
path: |
33-
node_modules
34-
*/*/node_modules
35-
/home/runner/.cache/Cypress
36-
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
37-
- run: npm i -g [email protected]
38-
- run: npm i
39-
- run: npm run test
26+
node-version: '18'
27+
cache: npm
28+
29+
- name: Install dependencies
30+
run: npm i
31+
32+
- name: Run tests
33+
run: npm run test

0 commit comments

Comments
 (0)