updates test workflow to resolve same issue #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Widget Release Build | |
on: | |
push: | |
# Sequence of patterns matched against refs/tags | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-alpha[0-9]+' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [12.3.1] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Test and build with node ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Setup GIT user | |
uses: fregante/setup-git-user@v1 | |
- run: yarn install --frozen-lockfile | |
- run: yarn build-dev | |
- name: Upload Release .wigt | |
uses: svenstaro/upload-release-action@v2 | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: build/_output/* | |
tag: ${{ github.ref }} | |
overwrite: false | |
file_glob: true |