build: fix gh action

This commit is contained in:
Andrey Ponomarenko 2020-09-25 08:52:52 +03:00
parent d3f9fc0aac
commit 789d3e7114

View File

@ -12,10 +12,12 @@ test-and-release:
matrix:
node-version: [12.18.4]
steps:
- name: Install yarn
run: npm install -g yarn
- name: Install dependencies
run: npm i
run: yarn
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn release