File tree Expand file tree Collapse file tree 1 file changed +17
-22
lines changed
Expand file tree Collapse file tree 1 file changed +17
-22
lines changed Original file line number Diff line number Diff line change @@ -14,27 +14,22 @@ jobs:
1414
1515 runs-on : ubuntu-latest
1616
17- strategy :
18- matrix :
19- node-version : [19.x, 20.x, 21.x]
20- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21-
2217 steps :
23- - uses : actions/checkout@v3
24- - name : Use Node.js ${{ matrix.node-version }}
25- uses : actions/setup-node@v3
26- with :
27- node-version : ${{ matrix. node-version }}
28- cache : " npm"
29- - run : npm install
30- - run : npm run build
31- - run : npm test
32- - run : sudo apt-get install xvfb
33- - run : xvfb-run --auto-servernum npm run test:chrome
34- - run : xvfb-run --auto-servernum npm run test:firefox
18+ - uses : actions/checkout@v3
19+ - name : Use Node.js 20.x
20+ uses : actions/setup-node@v3
21+ with :
22+ node-version : " 20.x "
23+ cache : " npm"
24+ - run : npm install
25+ - run : npm run build
26+ - run : npm test
27+ - run : sudo apt-get install xvfb
28+ - run : xvfb-run --auto-servernum npm run test:chrome
29+ - run : xvfb-run --auto-servernum npm run test:firefox
3530
36- - name : Publish to npm
37- if : github.ref == 'refs/heads/master' && github.event_name == 'push'
38- env :
39- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
40- run : npm publish
31+ - name : Publish to npm
32+ if : github.ref == 'refs/heads/master' && github.event_name == 'push'
33+ env :
34+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
35+ run : npm publish
You can’t perform that action at this time.
0 commit comments