Skip to content

Commit

Permalink
Update workflows (#4)
Browse files Browse the repository at this point in the history
* Update exec workflow
* added release workflow
  • Loading branch information
AlexeyKorshun authored Nov 4, 2019
1 parent a39eed0 commit 875c0e3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/exec.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
name: Test extension
on: push
on: pull_request
jobs:
build:
name: Exec
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install npm
uses: actions/npm@master
with:
args: install
- name: Install zem
uses: actions/npm@master
with:
args: install -g zem
- name: Exec
uses: actions/npm@master
with:
args: run exec
- uses: actions/checkout@master
- name: test
uses: actions/setup-node@master
- run: npm install
- run: npm run exec
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Release
on: release
jobs:
build:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: npm install
- run: npm run exec
- name: Publish
uses: artemnovichkov/action-zem@master
env:
ZEM_TOKEN: ${{ secrets.ZEM_TOKEN }}
with:
args: publish

0 comments on commit 875c0e3

Please sign in to comment.