build: fix gh action
This commit is contained in:
parent
789d3e7114
commit
389c2081c5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue