Skip to content

Commit

Permalink
add GH workflows (foambubble#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudutour committed Jul 25, 2020
1 parent fd9fe12 commit 524ab15
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 0 deletions.
File renamed without changes.
25 changes: 25 additions & 0 deletions .github/workflows/foam-cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test foam-cli

on:
pull_request:
paths:
- 'packages/foam-cli/**'
push:
paths:
- 'packages/foam-cli/**'

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1

- name: Install dependencies
run: yarn

# - name: Lint foam-lint
# run: yarn workspace foam-cli lint

- name: Test foam-cli
run: yarn workspace foam-cli test
25 changes: 25 additions & 0 deletions .github/workflows/foam-core.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test foam-core

on:
pull_request:
paths:
- 'packages/foam-core/**'
push:
paths:
- 'packages/foam-core/**'

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1

- name: Install dependencies
run: yarn

- name: Lint foam-core
run: yarn workspace foam-core lint

- name: Test foam-core
run: yarn workspace foam-core test
29 changes: 29 additions & 0 deletions .github/workflows/foam-vscode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test foam-vscode

on:
pull_request:
paths:
- 'packages/foam-vscode/**'
push:
paths:
- 'packages/foam-vscode/**'

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1

- name: Install dependencies
run: yarn

- name: Lint foam-vscode
run: yarn workspace foam-vscode lint
# - name: Test foam-vscode
# run: yarn workspace foam-vscode test
# - name: Publish foam-vscode
# if: github.ref == 'refs/heads/master'
# run: yarn workspace foam-vscode publish-extension
# with:
# vsce_token: ${{ secrets.VSCE_TOKEN }}

0 comments on commit 524ab15

Please sign in to comment.