File tree Expand file tree Collapse file tree 3 files changed +34
-37
lines changed Expand file tree Collapse file tree 3 files changed +34
-37
lines changed Original file line number Diff line number Diff line change 44 types : [published]
55jobs :
66 build :
7- permissions :
8- contents : read
9- id-token : write
107 runs-on : ubuntu-latest
118 steps :
129 - uses : actions/checkout@v4
1613 node-version : " 20.x"
1714 registry-url : " https://registry.npmjs.org"
1815 - run : npm ci
19- - run : npm publish --provenance -- access public
16+ - run : npm publish --access public
2017 env :
2118 NODE_AUTH_TOKEN : ${{ secrets.NPM_DMV_GRANULAR }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # This workflow will install JavaScript dependencies, run tests and lint.
2+
3+ name : unit tests
4+
5+ on :
6+ push :
7+ branches : [master]
8+ pull_request :
9+ branches : [master]
10+
11+ jobs :
12+ build :
13+ name : Build and run tests
14+ runs-on : ubuntu-latest
15+ strategy :
16+ matrix :
17+ node-version : ["12.x", "14.x", "16.x"]
18+
19+ steps :
20+ - uses : actions/checkout@v2
21+ - name : Set up Node ${{ matrix.node-version }}
22+ uses : actions/setup-node@v2
23+ with :
24+ node-version : ${{ matrix.node-version }}
25+ cache : " npm"
26+ - name : Install dependencies
27+ run : npm install
28+ - name : Build package in production mode
29+ run : npm run build
30+ - name : Lint with standard
31+ run : npm run lint
32+ - name : Test with jest
33+ run : npm run test
You can’t perform that action at this time.
0 commit comments