Skip to content

Commit

Permalink
Switch to actions (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle authored Nov 22, 2020
1 parent 8f81206 commit bec61f8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish to npm

on:
release:
types: [published]

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

0 comments on commit bec61f8

Please sign in to comment.