88concurrency : ${{ github.workflow }}-${{ github.ref }}
99
1010jobs :
11- setup :
12- name : Setup
11+ lint :
12+ name : Lint
1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : Checkout Repo
2323 - name : Install Dependencies
2424 run : yarn
2525
26- - name : Upload app-setup artifact
27- uses : actions/upload-artifact@v3
28- with :
29- name : app-setup
30- path : .
31-
32- lint :
33- name : Lint
34- runs-on : ubuntu-latest
35- needs : setup
36- steps :
3726 - name : Download app-setup artifact
3827 uses : actions/download-artifact@v3
3928 with :
@@ -46,38 +35,53 @@ jobs:
4635 build :
4736 name : Build
4837 runs-on : ubuntu-latest
49- needs : setup
5038 steps :
51- - name : Download app-setup artifact
52- uses : actions/download-artifact@v3
39+ - name : Checkout Repo
40+ uses : actions/checkout@v3
41+
42+ - name : Setup Node.js 16.x
43+ uses : actions/setup-node@v3
5344 with :
54- name : app-setup
45+ node-version : 16.x
46+
47+ - name : Install Dependencies
48+ run : yarn
5549
5650 - name : Build Applications and Packages
5751 run : yarn build
5852
5953 test :
6054 name : Test
6155 runs-on : ubuntu-latest
62- needs : setup
6356 steps :
64- - name : Download app-setup artifact
65- uses : actions/download-artifact@v3
57+ - name : Checkout Repo
58+ uses : actions/checkout@v3
59+
60+ - name : Setup Node.js 16.x
61+ uses : actions/setup-node@v3
6662 with :
67- name : app-setup
63+ node-version : 16.x
64+
65+ - name : Install Dependencies
66+ run : yarn
6867
6968 - name : Test Applications and Packages
7069 run : yarn test
7170
7271 release :
7372 name : Release
7473 runs-on : ubuntu-latest
75- needs : setup
7674 steps :
77- - name : Download app-setup artifact
78- uses : actions/download-artifact@v3
75+ - name : Checkout Repo
76+ uses : actions/checkout@v3
77+
78+ - name : Setup Node.js 16.x
79+ uses : actions/setup-node@v3
7980 with :
80- name : app-setup
81+ node-version : 16.x
82+
83+ - name : Install Dependencies
84+ run : yarn
8185
8286 - name : Create Release Pull Request or Publish to npm
8387 id : changesets
0 commit comments