Skip to content

Commit

Permalink
ci: nodejs for workdir
Browse files Browse the repository at this point in the history
  • Loading branch information
triptu committed May 30, 2022
1 parent ea36879 commit d044045
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
jobs:
release:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./nodejs

steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@ jobs:
os:
- ubuntu-latest
# - windows-latest
node: [14.x, 16.x]
node: [16.x]
defaults:
run:
working-directory: ./nodejs

steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: cd nodejs
- name: Install modules
run: yarn
- name: Run tests
Expand Down

0 comments on commit d044045

Please sign in to comment.