Skip to content

Commit

Permalink
Adapt workflow
Browse files Browse the repository at this point in the history
Add path limitation for CI runs
Add token workflow
  • Loading branch information
itamargiv authored Aug 21, 2020
1 parent 01d292e commit e0c31ad
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test-and-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
#
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

on: push
on:
push:
paths:
- 'vue-components/**'
name: Test and deploy
jobs:
test-and-demo:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/test-and-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This workflow will do
# - a clean install of node dependencies
# - run tests
# - build and upload the storybook to a staging area
#
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

on:
push:
paths:
- 'tokens/**'
- 'docs/**'

name: Test and lint
jobs:
test-and-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up node
uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install
run: npm ci
- name: Test
run: npm run test

0 comments on commit e0c31ad

Please sign in to comment.