Skip to content

Commit

Permalink
chore: cont
Browse files Browse the repository at this point in the history
  • Loading branch information
joepegler committed Aug 23, 2024
1 parent abf3724 commit 0f78d13
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

with:
path: ./

- name: Build
uses: ./.github/actions/build
6 changes: 4 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
path: ./

- name: Install dependencies
uses: ./.github/actions/install-dependencies

- uses: actions/checkout@v4

- name: Run the tests
run: bun run test --coverage
env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: ./
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "gh-runner"

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}-playground
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22

- uses: actions/checkout@v4
with:
path: ./

- name: Install dependencies
uses: ./.github/actions/install-dependencies

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@ jobs:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-unit-tests
cancel-in-progress: true
defaults:
run:
working-directory: my_folder
steps:
- uses: actions/setup-node@v4
with:
node-version: 22

- uses: actions/checkout@v4

with:
path: ./

- name: Install dependencies
uses: ./.github/actions/install-dependencies

Expand Down
4 changes: 2 additions & 2 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export default defineConfig({
statements: 80
}
},
include: ["./tests/**/*.test.ts"],
globalSetup: ["./tests/globalSetup.ts"],
include: [join(__dirname, "./tests/**/*.test.ts")],
globalSetup: [join(__dirname, "./tests/globalSetup.ts")],
sequence: {
concurrent: false
},
Expand Down

0 comments on commit 0f78d13

Please sign in to comment.