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

Commit 1a204e9

Browse files
committed
refactor(ci): migrate cicleci to github actions
1 parent f26f4de commit 1a204e9

File tree

2 files changed

+26
-45
lines changed

2 files changed

+26
-45
lines changed

.circleci/config.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.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 install
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)