-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (32 loc) · 831 Bytes
/
cache.yml
File metadata and controls
32 lines (32 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# name: React Project
# on: [push,workflow_dispatch]
# jobs:
# job1:
# runs-on: ubuntu-latest
# steps:
# - name: checkout action
# uses: actions/checkout@v3
# - name: cache actions
# uses: actions/cache@v3
# with:
# path: ~/.npm
# key: node-dep-${{ hashFiles('**/package-lock.json')}}
# - name: build
# run: |
# npm ci
# npm run build
# job2:
# needs: job1
# runs-on: ubuntu-latest
# steps:
# - name: checkout action
# uses: actions/checkout@v3
# - name: cache actions
# uses: actions/cache@v3
# with:
# path: ~/.npm
# key: node-dep-${{ hashFiles('**/package-lock.json')}}
# - name: build
# run: |
# npm ci
# npm run build