build: fix gh action

This commit is contained in:
Andrey Ponomarenko 2020-09-25 08:53:22 +03:00
parent 789d3e7114
commit 389c2081c5
1 changed files with 16 additions and 16 deletions

View File

@ -5,19 +5,19 @@ on:
- 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
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