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

24 lines
434 B
YAML

name: Release
on:
push:
branches:
- master
jobs:
test-and-release:
name: release
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.18.4]
steps:
- name: Install yarn
run: npm install -g yarn
- name: Install dependencies
run: yarn
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn release