Skip to content

Commit 8a69f90

Browse files
authored
Merge pull request #6 from reload/build-dist
Add publish
2 parents 62a34f0 + 57aba10 commit 8a69f90

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/publish.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types: [published, edited]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
with:
14+
ref: ${{ github.event.release.tag_name }}
15+
- name: Install deps and build
16+
run: npm ci && npm run build
17+
- uses: JasonEtco/build-and-tag-action@v2
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)