File tree 2 files changed +14
-5
lines changed
2 files changed +14
-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@v4
13
+ - uses : pnpm/action-setup@v4
14
+ - uses : actions/setup-node@v3
13
15
with :
14
16
node-version : 18
17
+ registry-url : ' https://registry.npmjs.org'
18
+ cache : ' pnpm'
19
+ cache-dependency-path : ' **/pnpm-lock.yaml'
20
+ - run : pnpm install --frozen-lockfile
15
21
- run : npm test
16
22
- run : npm run compile
17
- - run : |
18
- echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > .npmrc
19
- npm publish
23
+ - run : npm publish
20
24
env :
21
25
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@v4
12
+ - uses : pnpm/action-setup@v4
13
+ - uses : actions/setup-node@v3
12
14
with :
13
15
node-version : 18
16
+ cache : ' pnpm'
17
+ cache-dependency-path : ' **/pnpm-lock.yaml'
18
+ - run : pnpm install --frozen-lockfile
14
19
- run : npm test
You can’t perform that action at this time.
0 commit comments