Skip to content

Commit

Permalink
ci: Move to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermemj committed Mar 8, 2021
1 parent 7d2137f commit 5cf65f1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 37 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish package to NPM

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
37 changes: 0 additions & 37 deletions .gitlab-ci.yml

This file was deleted.

0 comments on commit 5cf65f1

Please sign in to comment.