Skip to content

Commit e2ead8e

Browse files
authored
Merge pull request #917 from form8ion/beta
2 parents 261f5be + 51b59b5 commit e2ead8e

36 files changed

+6906
-5780
lines changed

.babelrc

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

.commitlintrc.js

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

.commitlintrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": [
3+
"@form8ion"
4+
]
5+
}

.eslintrc.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
root: true
22
extends:
33
- '@form8ion'
4-
- '@form8ion/mocha'
54
- '@form8ion/cucumber'
65

76
overrides:
8-
- files: example.js
7+
- files:
8+
- vitest.config.js
99
rules:
10-
import/no-extraneous-dependencies: off
11-
no-unused-expressions: off
10+
import/no-unresolved: off

.github/settings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ _extends: .github
22
repository:
33
name: lerna
44
description: opinionated scaffolder for monorepos managed with lerna
5-
homepage: 'https://npm.im/@form8ion/lerna'
5+
homepage: https://npm.im/@form8ion/lerna
66
private: false
File renamed without changes.

.github/workflows/node-ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,25 @@ env:
1313
FORCE_COLOR: 1
1414
NPM_CONFIG_COLOR: always
1515
jobs:
16+
verify-matrix:
17+
runs-on: ubuntu-latest
18+
strategy:
19+
matrix:
20+
node:
21+
- 20.19.0
22+
- 22.14.0
23+
- 24
24+
steps:
25+
- uses: actions/checkout@v4.2.2
26+
- name: Setup node
27+
uses: actions/setup-node@v4.2.0
28+
with:
29+
cache: npm
30+
node-version: ${{ matrix.node }}
31+
- run: npm clean-install
32+
- run: npm install --global corepack@latest
33+
- run: corepack npm audit signatures
34+
- run: npm test
1635
verify:
1736
runs-on: ubuntu-latest
1837
steps:
@@ -29,6 +48,7 @@ jobs:
2948
release:
3049
needs:
3150
- verify
51+
- verify-matrix
3252
permissions:
3353
contents: write
3454
id-token: write
@@ -37,5 +57,18 @@ jobs:
3757
uses: form8ion/.github/.github/workflows/release-package.yml@master
3858
secrets:
3959
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
60+
workflow-result:
61+
runs-on: ubuntu-latest
62+
needs:
63+
- verify
64+
- verify-matrix
65+
if: ${{ !cancelled() }}
66+
steps:
67+
- name: All matrix versions passed
68+
if: ${{ !(contains(needs.*.result, 'failure')) }}
69+
run: exit 0
70+
- name: Some matrix version failed
71+
if: ${{ contains(needs.*.result, 'failure') }}
72+
run: exit 1
4073
permissions:
4174
contents: read

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,9 @@
33
/coverage/
44
/.nyc_output/
55

6-
.eslintcache
6+
.eslintcache
7+
8+
.idea
9+
!.idea/
10+
.idea/*
11+
!.idea/runConfigurations/

.husky/commit-msg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx --no-install commitlint --edit $1

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npm test

0 commit comments

Comments
 (0)