File tree 1 file changed +21
-9
lines changed
1 file changed +21
-9
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ jobs:
10
10
test :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v2.4.1
13
+ - uses : actions/checkout@v3
14
14
- name : Use Node.js
15
- uses : actions/setup-node@v1
15
+ uses : actions/setup-node@v4
16
16
with :
17
- node-version : 14 .x
17
+ node-version : 18 .x
18
18
- name : setup pnpm
19
19
run : |
20
20
npm i -g pnpm
@@ -60,14 +60,26 @@ jobs:
60
60
- scenario : canary
61
61
experimental : true
62
62
steps :
63
- - name : Checkout
64
- uses : actions/checkout@v1
63
+ - uses : actions/checkout@v3
65
64
- name : Use Node.js
66
- uses : actions/setup-node@v1
65
+ uses : actions/setup-node@v4
67
66
with :
68
- node-version : 14.x
69
- - name : Install dependencies (npm)
70
- run : npm install && ./node_modules/.bin/tsc
67
+ node-version : 18.x
68
+ - name : setup pnpm
69
+ run : |
70
+ npm i -g pnpm
71
+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
72
+ - uses : actions/cache@v3
73
+ name : Setup pnpm cache
74
+ with :
75
+ path : ${{ env.STORE_PATH }}
76
+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
77
+ restore-keys : |
78
+ ${{ runner.os }}-pnpm-store-
79
+ - name : npm install, build
80
+ run : |
81
+ pnpm install
82
+ ./node_modules/.bin/tsc
71
83
- name : Setup ember-try scenario
72
84
run : ./node_modules/.bin/ember try:one ember-${{ matrix.scenario }} --skip-cleanup --- cat package.json
73
85
- name : Run test component
You can’t perform that action at this time.
0 commit comments