Skip to content
This repository was archived by the owner on Jan 1, 2023. It is now read-only.

Commit 0aabc86

Browse files
committed
restore release.yml
1 parent a80e50e commit 0aabc86

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: automatic release
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
jobs:
7+
release:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: checkout
11+
uses: actions/checkout@v1
12+
- name: setup Node
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: 16.x
16+
registry-url: 'https://registry.npmjs.org'
17+
- name: install dependencies
18+
run: npm ci
19+
- name: test
20+
run: npm run test
21+
- name: build
22+
run: npm run build
23+
- name: release
24+
run: npm publish
25+
env:
26+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)