Skip to content

Commit

Permalink
fix(ci): removed mutiple test node version
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcaufy committed Mar 29, 2020
1 parent 47f0476 commit 7b5b937
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,24 @@ name: Release
# events but only for the master branch
on:
push:
branches:
- 2.0.x
branches: [ 2.0.x ]
tags:
- "**"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x]
steps:
- name: Setup Linux Environment
run: |
sudo apt-get -qy update && sudo apt-get install -y expect
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: olegtarasov/get-tag@v2
id: tagName
- name: Get outputtag
env:
TAG_NAME: ${{ steps.tagName.outputs.tag}}
run: echo "$TAG_NAME"
- run: npm install
- run: npm run bootstrap
- run: npm run test
Expand All @@ -39,12 +38,6 @@ jobs:
echo $RELEASE_VERSION
echo ${{ steps.vars.outputs.tag }}
- uses: olegtarasov/get-tag@v2
id: tagName
- name: Get outputtag
env:
TAG_NAME: ${{ steps.tagName.outputs.tag}}
run: echo "$TAG_NAME"
- name: Build dist
run: npm run build
- name: NPM release
Expand Down

0 comments on commit 7b5b937

Please sign in to comment.