Skip to content

Commit ed22ce2

Browse files
committed
workflow update
1 parent 6ec0b9d commit ed22ce2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/npm-publish.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ jobs:
99
publish:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
13-
- uses: actions/setup-node@v1
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
1414
with:
15-
node-version: 12
15+
node-version: 18
1616
registry-url: https://registry.npmjs.org/
17-
- run: yarn
18-
- run: yarn build
19-
- run: yarn publish --access=public
17+
- run: npm
18+
- run: npm build
19+
- run: npm publish --access=public
2020
env:
2121
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2222
notify:
2323
needs: publish
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v4
2727
- run: echo ::set-env name=EMOJI_PACKAGE::$'\xf0\x9f\x93\xa6'
2828
- run: echo ::set-env name=PACKAGE_NAME::$(node -p "require('./package.json').name")
2929
- run: echo ::set-env name=PACKAGE_VERSION::$(node -p "require('./package.json').version")

0 commit comments

Comments
 (0)