Skip to content

Commit af46d4b

Browse files
authored
Adding GitHub v2-release workflow back
1 parent 8b9173b commit af46d4b

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/v2-release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: v2-release
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
release:
7+
name: Pre-release
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout Repo
11+
# https://github.com/actions/checkout
12+
uses: actions/checkout@v4
13+
14+
# Setup .npmrc file to publish to npm
15+
- uses: actions/setup-node@v4
16+
with:
17+
registry-url: "https://registry.npmjs.org"
18+
19+
- uses: ./.github/actions/pnpm-setup
20+
21+
- name: Install dependencies
22+
run: pnpm install
23+
24+
- name: Publish Pre-release to npm
25+
run: pnpm release-v2
26+
env:
27+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)