File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
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 : actions/checkout@v2
13
- - uses : actions/setup-node@v1
12
+ - uses : actions/checkout@v4
13
+ - uses : actions/setup-node@v4
14
14
with :
15
- node-version : 12
15
+ node-version : 18
16
16
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
20
20
env :
21
21
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
22
22
notify :
23
23
needs : publish
24
24
runs-on : ubuntu-latest
25
25
steps :
26
- - uses : actions/checkout@v2
26
+ - uses : actions/checkout@v4
27
27
- run : echo ::set-env name=EMOJI_PACKAGE::$'\xf0\x9f\x93\xa6'
28
28
- run : echo ::set-env name=PACKAGE_NAME::$(node -p "require('./package.json').name")
29
29
- run : echo ::set-env name=PACKAGE_VERSION::$(node -p "require('./package.json').version")
You can’t perform that action at this time.
0 commit comments