Skip to content

Commit 3ae5f47

Browse files
2 parents 06a3a5a + ea7d700 commit 3ae5f47

File tree

2 files changed

+23
-35
lines changed

2 files changed

+23
-35
lines changed

.github/workflows/production.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build and release on npm
2+
on:
3+
create:
4+
tags:
5+
- v*
6+
7+
jobs:
8+
setup-build-publish-deploy:
9+
name: Setup, Build, Publish, and Deploy
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
- name: Use Node.js ${{ matrix.node-version }}
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: 14
18+
registry-url: 'https://registry.npmjs.org'
19+
- run: npm install
20+
- run: npm run build
21+
- run: npm publish
22+
env:
23+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.travis.yml

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

0 commit comments

Comments
 (0)