File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 - README.md
1010 workflow_dispatch :
1111jobs :
12- test :
13- runs-on : ubuntu-latest
14- steps :
15- - name : Get Code
16- uses : actions/checkout@v4
17- - name : Install Node 20
18- uses : actions/setup-node@v4
19- with :
20- node-version : 20
21- - name : Cache Dependencies
22- uses : actions/cache@v4
23- with :
24- path : ~/.npm
25- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
26- - name : Install Dependencies
27- run : npm ci
28- - name : Run Tests
29- run : npm run test
30- build :
31- needs : test
12+
13+ build :
3214 runs-on : ubuntu-latest
3315 steps :
3416 - name : Get Code
4325 path : ~/.npm
4426 key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
4527 - name : Install Dependencies
46- run : npm ci
28+ run : npm install
4729 - name : Build Project
4830 run : npm run build
4931 - name : Upload Dist Artifact
You can’t perform that action at this time.
0 commit comments