Skip to content

Commit

Permalink
add yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
ianlapham committed Dec 11, 2019
1 parent 05ddd77 commit 828c73c
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/total.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
on:
push:
# Sequence of patterns matched against refs/tags
branches:
- 'newbuild'
tags:
- 'v*'

Expand All @@ -11,15 +9,21 @@ name: Build and Release
jobs:
build:
name: Gloabl Job
runs-on: ubuntu-latest
strategy:
matrix:
node: ['10.x', '12.x']
os: [ubuntu-latest, macOS-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Create production build
run: |
npm install -g yarn
yarn install
yarn build
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm install -g yarn
- run: yarn
- run: yarn build
- name: Create Release
id: create_release
uses: actions/[email protected]
Expand All @@ -28,7 +32,6 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: test text
draft: false
prerelease: false
- name: Zip the build
Expand Down

0 comments on commit 828c73c

Please sign in to comment.