Skip to content

Commit 318cb8c

Browse files
fix: improvements to testing and CI processes (#379)
1 parent 5e2ea15 commit 318cb8c

15 files changed

+112
-1592
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Lint and test with coverage
2+
3+
on:
4+
push:
5+
branches: [ dev, main ]
6+
pull_request:
7+
branches: [ dev, main ]
8+
9+
jobs:
10+
lint-and-test-with-coverage:
11+
uses: inclusive-design/workflows/.github/workflows/node-lint-and-test-with-coverage.yml@main
12+
secrets:
13+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/release-please.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,8 @@ on:
66

77
jobs:
88
release-please:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/create-github-app-token@v2
12-
id: app-token
13-
with:
14-
app-id: ${{ vars.GHA_APP_ID }}
15-
private-key: ${{ secrets.GHA_PRIVATE_KEY }}
16-
- uses: googleapis/release-please-action@v4
17-
id: release
18-
with:
19-
token: ${{ steps.app-token.outputs.token }}
9+
uses: inclusive-design/workflows/.github/workflows/release-please.yml@main
10+
with:
11+
GHA_APP_ID: ${{ vars.GHA_APP_ID }}
12+
secrets:
13+
GHA_PRIVATE_KEY: ${{ secrets.GHA_PRIVATE_KEY }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
coverage
1+
lcov.info
22
_site
33
node_modules
44
.DS_Store

coverage/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.gitignore

0 commit comments

Comments
 (0)