You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
1
+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2
2
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
-
4
-
name: Publish
3
+
name: Publish npm Package
5
4
6
5
on:
7
-
release:
8
-
types: [published]
9
-
jobs:
10
-
publish:
6
+
push:
7
+
branches:
8
+
- master
11
9
10
+
jobs:
11
+
publish-npm:
12
12
runs-on: ubuntu-latest
13
-
14
13
steps:
15
-
- uses: actions/checkout@v2
16
-
with:
17
-
ref: ${{ github.event.release.target_commitish }}
18
-
- uses: actions/setup-node@v2
19
-
with:
20
-
node-version: 16
21
-
cache: 'npm'
22
-
- run: git config --global user.name "GitHub CD bot"
0 commit comments