Skip to content

Commit ec3ba5e

Browse files
committed
✨ Add workflow
1 parent ee5cda3 commit ec3ba5e

File tree

2 files changed

+19
-32
lines changed

2 files changed

+19
-32
lines changed

.github/workflows/ci.yml

-32
This file was deleted.

.github/workflows/publish.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Node.js Package
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
# Setup .npmrc file to publish to GitHub Packages
11+
- uses: actions/setup-node@v1
12+
with:
13+
node-version: '12.x'
14+
registry-url: 'https://npm.pkg.github.com'
15+
scope: '@manageinvite'
16+
- run: npm install
17+
- run: npm publish
18+
env:
19+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)