File tree Expand file tree Collapse file tree 2 files changed +2
-66
lines changed
Expand file tree Collapse file tree 2 files changed +2
-66
lines changed Original file line number Diff line number Diff line change 3434 - name : Test
3535 run : npm run test
3636
37- build :
38- name : Build
39- needs : install
40- runs-on : ${{ matrix.os }}
41-
42- strategy :
43- matrix :
44- os : [ubuntu-latest]
45- node : [22]
46-
47- steps :
48- - uses : actions/setup-node@v4
49- with :
50- node-version : ${{ matrix.node }}
51- - name : Checkout Repo
52- uses : actions/checkout@v4
53- - name : cache node_modules
54- uses : actions/cache@v4
55- id : cache
56- with :
57- path : |
58- node_modules
59- key : ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
60- - name : Build
61- run : |
62- npm run build
63- - name : Archive Production Artifact
64- uses : actions/upload-artifact@master
65- with :
66- name : artifact
67- path : dist
68-
6937 semantic-version :
7038 name : Semantic Release
71- needs : build
39+ needs : install
7240 runs-on : ${{ matrix.os }}
7341
7442 strategy :
Original file line number Diff line number Diff line change 3434 - name : Test
3535 run : npm run test
3636
37- build :
38- name : Build
39- needs : install
40- runs-on : ${{ matrix.os }}
41-
42- strategy :
43- matrix :
44- os : [ubuntu-latest]
45- node : [22]
46-
47- steps :
48- - uses : actions/setup-node@v4
49- with :
50- node-version : ${{ matrix.node }}
51- - name : Checkout Repo
52- uses : actions/checkout@v4
53- - name : cache node_modules
54- uses : actions/cache@v4
55- id : cache
56- with :
57- path : |
58- node_modules
59- key : ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/package-lock.json')) }}
60- - name : Build
61- run : |
62- npm run build
63- - name : Archive Production Artifact
64- uses : actions/upload-artifact@master
65- with :
66- name : artifact
67- path : dist
68-
6937 semantic-version :
7038 name : Semantic Release
71- needs : build
39+ needs : install
7240 runs-on : ${{ matrix.os }}
7341
7442 strategy :
You can’t perform that action at this time.
0 commit comments