generated from bradgarropy/node-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 3
32 lines (30 loc) · 943 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: "🚀 release"
on:
release:
types: [published]
jobs:
release:
name: "🚀 release"
runs-on: ubuntu-latest
steps:
- name: "📚 checkout"
uses: actions/[email protected]
- name: "🟢 node"
uses: actions/[email protected]
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- name: "📦 install"
run: npm ci
- name: "🧶 lint"
run: npm run lint
- name: "💾 format"
run: npm run format
- name: "🧪 test"
run: npm run test
- name: "☂️ coverage"
uses: codecov/[email protected]
- name: "🚀 publish"
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}