chore(deps): pin dependencies #1246
ci.yml
on: pull_request
Are The Types Wrong?
40s
Build
26s
Lint
38s
Lint Knip
12s
Lint Markdown
11s
Lint Packages
19s
Lint Spelling
11s
Prettier
17s
Test
23s
Type Check
15s
Annotations
5 errors
src/integration.test.ts > Producing the everything preset matches the files in this repository:
src/integration.test.ts#L114
Error: Snapshot `Producing the everything preset matches the files in this repository 1` mismatched
- Expected
+ Received
@@ -1,9 +1,186 @@
{
".github": {
- "workflows": {
- "release.yml": "@@ -14,13 +14,9 @@
+ "actions": {
+ "prepare": {
+ "action.yml": "@@ -6,9 +6,9 @@
+ steps:
+ - uses: pnpm/action-setup@v4
+ with:
+ version: 9
+ - - uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4
+ + - uses: actions/setup-node@v4
+ with:
+ cache: pnpm
+ node-version: "20"
+ - run: pnpm install --frozen-lockfile
+ ",
+ },
+ },
+ "workflows": {
+ "accessibility-alt-text-bot.yml": "@@ -2,9 +2,9 @@
+ accessibility_alt_text_bot:
+ if: ${{ !endsWith(github.actor, '[bot]') }}
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: github/accessibility-alt-text-bot@602a5efcf386c52ef8b9a11ead9bfa6ef8d56ba5 # v1.4.0
+ + - uses: github/[email protected]
+
+ name: Accessibility Alt Text Bot
+
+ on:
+ ",
+ "ci.yml": "@@ -2,68 +2,68 @@
+ are_the_types_wrong:
+ name: Are The Types Wrong?
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
+ - uses: ./.github/actions/prepare
+ - run: pnpm build
+ - run: npx --yes @arethetypeswrong/cli --pack . --ignore-rules cjs-resolves-to-esm
+ build:
+ name: Build
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
+ - uses: ./.github/actions/prepare
+ - run: pnpm build
+ - run: node lib/index.js --version
+ lint:
+ name: Lint
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
+ - uses: ./.github/actions/prepare
+ - run: pnpm build
+ - run: pnpm lint
+ lint_knip:
+ name: Lint Knip
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
+ - uses: ./.github/actions/prepare
+ - run: pnpm lint:knip
+ lint_markdown:
+ name: Lint Markdown
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
+ - uses: ./.github/actions/prepare
+ - run: pnpm lint:md
+ lint_packages:
+ name: Lint Packages
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
+ - uses: ./.github/actions/prepare
+ - run: pnpm lint:packages
+ lint_spelling:
+ name: Lint Spelling
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
+ - uses: ./.github/actions/prepare
+ - run: pnpm lint:spelling
+ prettier:
+ name: Prettier
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
+ - uses: ./.github/actions/prepare
+ - run: pnpm format --list-different
+ test:
+ name: Test
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
+ - uses: ./.github/actions/prepare
+ - run: pnpm run test --coverage
+ - env:
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
+ @@ -72,9 +72,9 @@
+ type_check:
+ name: Type Check
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
+ - uses: ./.github/actio
|
src/blocks/blockPrettier.test.ts > blockPrettier > without addons or mode:
src/blocks/blockPrettier.test.ts#L13
Error: Snapshot `blockPrettier > without addons or mode 1` mismatched
- Expected
+ Received
@@ -46,11 +46,11 @@
"addons": {
"properties": {
"devDependencies": {
"husky": "9.1.7",
"lint-staged": "15.3.0",
- "prettier": "^3.4.2",
+ "prettier": "3.4.2",
},
"lint-staged": {
"*": "prettier --ignore-unknown --write",
},
"scripts": {
❯ src/blocks/blockPrettier.test.ts:13:20
|
src/blocks/blockPrettier.test.ts > blockPrettier > migration mode:
src/blocks/blockPrettier.test.ts#L125
Error: Snapshot `blockPrettier > migration mode 1` mismatched
- Expected
+ Received
@@ -46,11 +46,11 @@
"addons": {
"properties": {
"devDependencies": {
"husky": "9.1.7",
"lint-staged": "15.3.0",
- "prettier": "^3.4.2",
+ "prettier": "3.4.2",
},
"lint-staged": {
"*": "prettier --ignore-unknown --write",
},
"scripts": {
❯ src/blocks/blockPrettier.test.ts:125:20
|
src/blocks/blockPrettier.test.ts > blockPrettier > with addons:
src/blocks/blockPrettier.test.ts#L251
Error: Snapshot `blockPrettier > with addons 1` mismatched
- Expected
+ Received
@@ -46,11 +46,11 @@
"addons": {
"properties": {
"devDependencies": {
"husky": "9.1.7",
"lint-staged": "15.3.0",
- "prettier": "^3.4.2",
+ "prettier": "3.4.2",
"prettier-plugin-curly": "0.3.1",
"prettier-plugin-packagejson": "2.5.6",
"prettier-plugin-sh": "0.14.0",
},
"lint-staged": {
❯ src/blocks/blockPrettier.test.ts:251:20
|
Test
Process completed with exit code 1.
|