Commit 346f5ce 1 parent 8ff98c9 commit 346f5ce Copy full SHA for 346f5ce
File tree 1 file changed +8
-29
lines changed
1 file changed +8
-29
lines changed Original file line number Diff line number Diff line change 12
12
- next
13
13
14
14
env :
15
- NODE_VERSION : lts/*
15
+ NODE_VERSION : 22.11.0
16
16
17
17
jobs :
18
18
main :
@@ -23,46 +23,25 @@ jobs:
23
23
contents : read
24
24
25
25
steps :
26
- - name : ⤵️ Checkout repository
27
- uses : actions/checkout@v4
28
-
29
- - name : 🏗 Setup nodejs
30
- uses : actions/setup-node@v4
31
- with :
32
- node-version : ${{ env.NODE_VERSION }}
33
-
34
- - name : 🏗 Setup nodejs corepack
35
- run : corepack enable
36
-
37
- - name : 🏗 Get yarn config
38
- id : yarn_config
39
- run : echo "cache_folder=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
40
-
41
- - name : 🏗 Cache Layer
42
- uses : actions/cache@v4
26
+ - name : 🛠️ JavaScript Project Setup
27
+ uses : the-nexim/actions/.github/workflows/javascript-project-setup.yaml@next
43
28
with :
44
- path : ${{ steps.yarn_config.outputs.cache_folder }}
45
- key : ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
46
- restore-keys : |
47
- ${{ runner.os }}-yarn-
48
-
49
- - name : 🏗 Install dependencies
50
- run : yarn install --immutable
29
+ node_version : ${{ env.NODE_VERSION }}
51
30
52
- - name : 🏗 Cache Wireit
31
+ - name : 📦 Cache Wireit
53
32
uses : google/wireit@setup-github-actions-caching/v2
54
33
55
- - name : 🚀 Build Typescript
34
+ - name : 🏗️ Build Typescript
56
35
run : yarn build
57
36
env :
58
37
WIREIT_LOGGER : metrics
59
38
60
- - name : 🚀 Run ESLint
39
+ - name : 🧹 Run ESLint
61
40
run : yarn lint
62
41
env :
63
42
WIREIT_LOGGER : metrics
64
43
65
- - name : 🚀 Run Test
44
+ - name : 🧪 Run Test
66
45
run : yarn test
67
46
env :
68
47
WIREIT_LOGGER : metrics
You can’t perform that action at this time.
0 commit comments