Skip to content

Commit 4d0fa1e

Browse files
committed
Release 1.2.0
1 parent f3bd396 commit 4d0fa1e

File tree

5 files changed

+5926
-24
lines changed

5 files changed

+5926
-24
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Release
2+
on:
3+
release:
4+
types: [released]
5+
jobs:
6+
release:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: actions/setup-node@v2
11+
with:
12+
node-version: 14.x
13+
registry-url: https://registry.npmjs.org
14+
- run: npm install
15+
- run: npm publish
16+
env:
17+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/test.yml

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,16 @@
11
name: Test
2-
on:
3-
push:
4-
branches: [$default-branch]
5-
pull_request:
6-
branches: [$default-branch]
2+
on: push
73
jobs:
8-
node:
4+
test:
95
runs-on: ubuntu-latest
106
strategy:
117
matrix:
12-
node-version: [10.x, 12.x, 14.x, 15.x, 16.x]
8+
node-version: [12.x, 14.x, 16.x]
139
steps:
1410
- uses: actions/checkout@v2
15-
- name: Use NodeJS ${{ matrix.node-version }}
16-
uses: actions/setup-node@v1
11+
- uses: actions/setup-node@v2
1712
with:
1813
node-version: ${{ matrix.node-version }}
19-
- run: npm run test:node
20-
deno:
21-
runs-on: ubuntu-latest
22-
strategy:
23-
matrix:
24-
deno-version: [v1.x]
25-
steps:
26-
- uses: actions/checkout@v2
27-
- name: Use Deno ${{ matrix.deno-version }}
28-
uses: denolib/setup-deno@v2
29-
with:
30-
deno-version: ${{ matrix.deno-version }}
31-
- run: npm run test:deno
14+
cache: npm
15+
- run: npm install
16+
- run: npm run test

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
.DS_Store
2-
package-lock.json
32
node_modules/
43
dist/

0 commit comments

Comments
 (0)