Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Commit 2bf3941

Browse files
committed
chore: build pre-release branch and publish with beta tag
1 parent 873afa1 commit 2bf3941

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/build.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
branches:
55
- master
66
- release
7+
- pre-release
78
pull_request:
89
jobs:
910
test:

.github/workflows/publish-to-github.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
registry-url: 'https://npm.pkg.github.com'
1616
# Defaults to the user or organization that owns the workflow file
1717
scope: '@mocks-server'
18-
- run: npm publish
18+
- run: npm publish --tag beta
1919
env:
2020
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish-to-npm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
registry-url: 'https://registry.npmjs.org/'
1414
- run: npm ci
1515
- run: npm run build
16-
- run: npm publish
16+
- run: npm publish --tag beta
1717
env:
1818
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)