diawi-nodejs-uploader/.github/workflows/release.yaml

22 lines
425 B
YAML
Raw Normal View History

2020-09-25 05:44:07 +00:00
name: Release
on:
push:
branches:
- master
jobs:
2020-09-25 05:53:22 +00:00
release:
name: release
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.18.4]
steps:
- name: Install dependencies
2020-09-25 06:05:36 +00:00
run: npm install && npm prune
2020-09-25 05:53:22 +00:00
- name: Release
env:
2020-09-25 05:55:48 +00:00
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2020-09-25 06:01:41 +00:00
run: semantic-release