build: fix gh action

This commit is contained in:
Andrey Ponomarenko 2020-09-25 08:51:49 +03:00
parent eb15f16846
commit d3f9fc0aac
1 changed files with 2 additions and 4 deletions

View File

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