Skip to content

Commit 68d2f1b

Browse files
authored
Merge pull request #270 from proto-kit/feature/release-develop
Introduce automatic releases from develop
2 parents 4961715 + 76f64fd commit 68d2f1b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Release NPM Packages
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- develop
8+
9+
jobs:
10+
release:
11+
runs-on: ubuntu-latest
12+
needs: install
13+
steps:
14+
- uses: actions/checkout@v3
15+
- uses: actions/setup-node@v3
16+
with:
17+
node-version: 18
18+
cache: npm
19+
20+
- name: "Install dependencies"
21+
run: npm ci --workspaces --include-workspace-root --force
22+
23+
- name: "Build"
24+
run: npm run build
25+
26+
- name: Run Lerna Release
27+
run: npm run publish:canary
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)