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 88 branches :
99 - " **"
1010
11- env :
12- SAUCE_USERNAME : ${{secrets.SAUCE_USERNAME}}
13- SAUCE_ACCESS_KEY : ${{secrets.SAUCE_ACCESS_KEY}}
14-
1511jobs :
1612 test :
1713 runs-on : ubuntu-latest
@@ -23,20 +19,11 @@ jobs:
2319 with :
2420 node-version : ' 18'
2521 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
2924 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