Skip to content

Commit f56c55f

Browse files
authored
v4 (#60)
2 parents ee62c3a + 72ab0e2 commit f56c55f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+4071
-17347
lines changed

.editorconfig

Lines changed: 0 additions & 7 deletions
This file was deleted.

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

.flowconfig

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @smockle

.github/workflows/publish.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
permissions:
8+
contents: read
9+
id-token: write
10+
11+
jobs:
12+
test:
13+
name: Test
14+
uses: smockle/matrix/.github/workflows/test.yml@main
15+
secrets: inherit
16+
publish:
17+
needs: [test]
18+
name: Publish
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: 22
25+
registry-url: https://registry.npmjs.org/
26+
cache: npm
27+
- run: npm ci
28+
- run: npm version ${TAG_NAME} --git-tag-version=false
29+
env:
30+
TAG_NAME: ${{ github.event.release.tag_name }}
31+
- run: npm whoami; npm --ignore-scripts publish --provenance --access public
32+
env:
33+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

.github/workflows/test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Test
2+
3+
on:
4+
workflow_call:
5+
secrets:
6+
CODECOV_TOKEN:
7+
required: true
8+
pull_request:
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
test:
15+
name: Test
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: 22
22+
registry-url: https://registry.npmjs.org/
23+
cache: npm
24+
- run: npm ci
25+
- run: npm test
26+
- if: github.actor != 'dependabot[bot]'
27+
name: Upload coverage reports to Codecov
28+
uses: codecov/codecov-action@v5
29+
with:
30+
token: ${{ secrets.CODECOV_TOKEN }}

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
node_modules
22
coverage
3-
.esm-cache
4-
.nyc_output
5-
*.log
6-
.DS_Store

.npmignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
coverage
2-
.esm-cache
3-
.nyc_output
4-
.vscode
5-
*.log
2+

.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)