Skip to content

Commit 29bf361

Browse files
committed
chore: initial commit
1 parent 5bb879b commit 29bf361

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/release.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Prepare repository
16+
run: git fetch --unshallow --tags
17+
18+
- name: Use Node.js 12.x
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: 12.x
22+
registry-url: "https://npm.pkg.github.com"
23+
scope: "@bguillen-tcs"
24+
25+
- name: Create Release
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
run: |
30+
npx auto shipit
31+
npm publish

0 commit comments

Comments
 (0)