Skip to content

Commit adf809b

Browse files
committed
Added workflow for dev branch.
1 parent b9e8940 commit adf809b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/publish-dev.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "Publish 📦"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v2
14+
with:
15+
node-version: "18.13.0"
16+
registry-url: "https://registry.npmjs.org"
17+
- run: npm install
18+
- run: npm run build
19+
- run: npm publish --tag dev --access public
20+
env:
21+
NODE_AUTH_TOKEN: ${{ secrets.NPM }}

0 commit comments

Comments
 (0)