Skip to content

Commit 0984fb1

Browse files
committed
chore: migrated CI to github actions
1 parent a9a4d8b commit 0984fb1

File tree

2 files changed

+24
-22
lines changed

2 files changed

+24
-22
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Publish plugin
2+
on:
3+
release:
4+
types:
5+
- created
6+
jobs:
7+
publish-npm:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
node-version: [14.x]
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Build on Node.js ${{ matrix.node-version }}
15+
uses: actions/setup-node@v2
16+
with:
17+
node-version: ${{ matrix.node-version }}
18+
registry-url: 'https://registry.npmjs.org'
19+
- name: Run npm install ci
20+
run: npm ci --only=production
21+
- name: Publish package
22+
run: npm publish --ignore-scripts --access public
23+
env:
24+
NODE_AUTH_TOKEN: ${{ secrets.NPM_GUIDESMITHS }}

.travis.yml

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

0 commit comments

Comments
 (0)