Debian Codegraph @

emoji-regex/.github/workflows/publish-on-tag.yml

raw
1 name: publish-on-tag
2
3 on:
4 push:
5 tags:
6 - '*'
7
8 jobs:
9 publish:
10 runs-on: ubuntu-latest
11 steps:
12 - name: Checkout
13 uses: actions/checkout@v2
14 - name: Install dependencies
15 run: npm install
16 - name: Build
17 run: npm run build
18 - name: Publish
19 env:
20 NPM_TOKEN: ${{secrets.NPM_TOKEN}}
21 run: |
22 npm config set '//wombat-dressing-room.appspot.com/:_authToken' '${NPM_TOKEN}'
23 npm publish