Skip to content

Commit

Permalink
[ci] added working-directory to the different actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Apr 18, 2024
1 parent 338215e commit d2a03fd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/messagepipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ jobs:
deno-version: ${{ matrix.deno-version }}

- name: Lint Deno Module
working-directory: messagepipeline
run: |
cd messagepipeline
deno fmt --check --ignore=docs/
- name: Test Deno Module
working-directory: messagepipeline
env:
TMPDIR: ${{ runner.temp }}
CI: true
run: |
cd messagepipeline
deno test --allow-all --unstable --parallel --fail-fast --coverage=./cov
3 changes: 2 additions & 1 deletion .github/workflows/messagepipelines_esm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
with:
deno-version: ${{ matrix.deno-version }}
- name: Build
run: deno bundle messagepipeline/mod.ts messagepipeline/mod.mjs
working-directory: messagepipeline
run: deno bundle mod.ts mod.mjs

- name: Upload assets to a Release
uses: AButler/[email protected]
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/nhgc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,17 @@ jobs:
deno-version: ${{ matrix.deno-version }}

- name: Lint Deno Module
run: deno fmt --check --ignore=docs/
working-directory: nhgc
run: |
deno fmt --check --ignore=docs/
- name: Test Deno Module
working-directory: nhgc
env:
TMPDIR: ${{ runner.temp }}
CI: true
NHG_APIKEY: ${{ secrets.NHG_APIKEY }}
NHG_URL: ${{ secrets.NHG_URL }}
run: |
deno test --allow-all --unstable --parallel --fail-fast --coverage=./cov nhgc
deno test --allow-all --unstable --parallel --fail-fast --coverage=./cov
3 changes: 2 additions & 1 deletion .github/workflows/nhgc_esm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ jobs:
with:
deno-version: ${{ matrix.deno-version }}
- name: Build
working-directory: nhgc
run: deno bundle nhgc/mod.ts nhgc/mod.mjs

- name: Upload assets to a Release
uses: AButler/[email protected]
with:
files: nhgc/mod.mjs
files: mod.mjs
repo-token: ${{ secrets.GH_TOKEN }}

0 comments on commit d2a03fd

Please sign in to comment.