File tree 2 files changed +18
-5
lines changed
2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 9
9
publish :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : DerYeger/pnpm-setup-action@master
12
+ - uses : actions/checkout@v3
13
+ - uses : pnpm/action-setup@v2
14
+ with :
15
+ version : 8.2.0
16
+ - uses : actions/setup-node@v3
13
17
with :
14
18
node-version : 18
19
+ registry-url : ' https://registry.npmjs.org'
20
+ cache : ' pnpm'
21
+ cache-dependency-path : ' **/pnpm-lock.yaml'
22
+ - run : pnpm install --frozen-lockfile
15
23
- run : npm test
16
24
- run : npm run compile
17
- - run : |
18
- echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > .npmrc
19
- npm publish
25
+ - run : npm publish
20
26
env :
21
27
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 8
8
test :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : DerYeger/pnpm-setup-action@master
11
+ - uses : actions/checkout@v3
12
+ - uses : pnpm/action-setup@v2
13
+ with :
14
+ version : 8.2.0
15
+ - uses : actions/setup-node@v3
12
16
with :
13
17
node-version : 18
18
+ cache : ' pnpm'
19
+ cache-dependency-path : ' **/pnpm-lock.yaml'
20
+ - run : pnpm install --frozen-lockfile
14
21
- run : npm test
You can’t perform that action at this time.
0 commit comments