UNPKG

571 BYAMLView Raw
1# This is a basic workflow to help you get started with Actions
2
3name: CI
4
5# Controls when the action will run.
6on:
7 release:
8 types: [published]
9
10# A workflow run is made up of one or more jobs that can run sequentially or in parallel
11jobs:
12 publish-npm:
13 runs-on: ubuntu-latest
14 steps:
15 - uses: actions/checkout@v2
16 - uses: actions/setup-node@v2
17 with:
18 node-version: 12
19 registry-url: https://registry.npmjs.org/
20 - run: npm ci
21 - run: npm publish
22 env:
23 NODE_AUTH_TOKEN: ${{secrets.npm_token}}