Skip to content

Commit a9ede7f

Browse files
authored
Merge pull request #812 from form8ion/beta
promote to stable
2 parents 53d31aa + 145ebb7 commit a9ede7f

Some content is hidden

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

49 files changed

+1043
-3485
lines changed

Diff for: .babelrc

-1
This file was deleted.

Diff for: .commitlintrc.js

-1
This file was deleted.

Diff for: .commitlintrc.json

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

Diff for: .eslintrc.yml

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ root: true
22
extends:
33
- '@form8ion'
44
- '@form8ion/cucumber'
5-
- '@form8ion/mocha'

Diff for: .github/workflows/node-ci.yml

+17-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ jobs:
3030
strategy:
3131
matrix:
3232
node:
33-
- 18.17.0
34-
- 20.6.1
35-
- 21
33+
- 18.19.0
34+
- 20.9.0
35+
- 22.11.0
36+
- 23
3637
steps:
3738
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3839
- name: Setup node
@@ -54,5 +55,18 @@ jobs:
5455
uses: form8ion/.github/.github/workflows/release-package.yml@master
5556
secrets:
5657
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
58+
workflow-result:
59+
runs-on: ubuntu-latest
60+
needs:
61+
- verify
62+
- verify-matrix
63+
if: ${{ !cancelled() }}
64+
steps:
65+
- name: All matrix versions passed
66+
if: ${{ !(contains(needs.*.result, 'failure')) }}
67+
run: exit 0
68+
- name: Some matrix version failed
69+
if: ${{ contains(needs.*.result, 'failure') }}
70+
run: exit 1
5771
permissions:
5872
contents: read

Diff for: .husky/commit-msg

-3
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

Diff for: .husky/pre-commit

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

Diff for: .lockfile-lintrc.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
{"path":"package-lock.json","type":"npm","validate-https":true,"allowed-hosts":["npm"]}
1+
{
2+
"path": "package-lock.json",
3+
"type": "npm",
4+
"validate-https": true,
5+
"allowed-hosts": [
6+
"npm"
7+
]
8+
}

Diff for: .mocharc.json

-1
This file was deleted.

Diff for: .npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
update-notifier=false
2+
registry=https://registry.npmjs.org

Diff for: cucumber.js

+20-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
1-
module.exports = {
2-
base: '--require-module @babel/register --format-options \'{"snippetInterface": "async-await"}\'',
3-
wip: '--tags "@wip"',
4-
noWip: '--tags "not @wip"',
5-
focus: '--tags @focus'
1+
const base = {
2+
formatOptions: {snippetInterface: 'async-await'},
3+
import: ['test/integration/features/**/*.js']
4+
};
5+
6+
export default base;
7+
8+
export const wip = {
9+
...base,
10+
tags: '@wip and not @skip'
11+
};
12+
13+
export const noWip = {
14+
...base,
15+
tags: 'not @skip and not @wip'
16+
};
17+
18+
export const focus = {
19+
...base,
20+
tags: '@focus'
621
};

0 commit comments

Comments
 (0)