We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21564b7 commit de41cb5Copy full SHA for de41cb5
1 file changed
.github/workflows/main.yml
@@ -14,19 +14,20 @@ permissions:
14
15
jobs:
16
build:
17
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
18
steps:
19
- name: Checkout
20
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
21
22
- name: Install Node.js
23
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v4
24
with:
25
node-version: '18'
26
+ cache: 'npm'
27
28
- name: Build
29
run: |
- npm install
30
+ npm ci
31
npm run build
32
33
- name: Upload artifact
@@ -35,7 +36,7 @@ jobs:
35
36
path: ./build
37
38
deploy:
39
40
needs: build
41
if: github.event_name == 'push'
42
environment:
0 commit comments