File tree Expand file tree Collapse file tree 1 file changed +7
-20
lines changed Expand file tree Collapse file tree 1 file changed +7
-20
lines changed Original file line number Diff line number Diff line change 8
8
branches :
9
9
- " **"
10
10
11
- env :
12
- SAUCE_USERNAME : ${{secrets.SAUCE_USERNAME}}
13
- SAUCE_ACCESS_KEY : ${{secrets.SAUCE_ACCESS_KEY}}
14
-
15
11
jobs :
16
12
test :
17
13
runs-on : ubuntu-latest
@@ -23,20 +19,11 @@ jobs:
23
19
with :
24
20
node-version : ' 18'
25
21
check-latest : true
26
- - name : node_modules cache
27
- id : node_modules_cache
28
- uses : actions/cache@v4
22
+ - name : Setup pnpm
23
+ uses : pnpm/action-setup@v4
29
24
with :
30
- path : ./node_modules
31
- key : ${{ runner.os }}-18-node_modules-${{ hashFiles('package-lock.json') }}
32
- restore-keys : |
33
- ${{ runner.os }}-18-node_modules-
34
- - name : NPM install
35
- if : steps.node_modules_cache.outputs.cache-hit != 'true'
36
- run : npm ci
37
- - name : Build & run tests
38
- run : npm run test
39
- - name : Run tests in Saucelabs
40
- run : |
41
- ./buildtools/sauce_connect.sh &
42
- ./buildtools/run_tests.sh --saucelabs
25
+ version : latest
26
+ - name : Install dependencies
27
+ run : pnpm install --frozen-lockfile
28
+ - name : Run tests
29
+ run : pnpm test
You can’t perform that action at this time.
0 commit comments