Skip to content

Commit a935433

Browse files
fix: lock file maintenance (#198)
BREAKING CHANGE: Moved to new ESLint flat config format
1 parent 856a865 commit a935433

23 files changed

+2113
-2251
lines changed

.baserc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "@dword-design/node",
3-
"cjsFallback": true
4-
}
3+
"testRunner": "playwright"
4+
}

.devcontainer/devcontainer.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
{
2-
"features": {
3-
"ghcr.io/devcontainers/features/node:1": {
4-
"version": 20
5-
}
6-
},
7-
"postCreateCommand": "COREPACK_INTEGRITY_KEYS=0 pnpm install --frozen-lockfile"
2+
"postCreateCommand": "pnpm install --frozen-lockfile"
83
}

.eslintrc.json

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

.github/workflows/build.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1+
concurrency:
2+
cancel-in-progress: true
3+
group: ${{ github.workflow }}-${{ github.ref }}
14
jobs:
2-
cancel-existing:
3-
if: "!contains(github.event.head_commit.message, '[skip ci]')"
4-
runs-on: ubuntu-latest
5-
steps:
6-
- env:
7-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8-
uses: rokroskar/[email protected]
95
release:
106
needs: test
117
runs-on: ubuntu-latest
@@ -21,9 +17,7 @@ jobs:
2117
- run: corepack enable
2218
- run: git config --global user.email "[email protected]"
2319
- run: git config --global user.name "GitHub Actions"
24-
- env:
25-
COREPACK_INTEGRITY_KEYS: 0
26-
run: pnpm install --frozen-lockfile
20+
- run: pnpm install --frozen-lockfile
2721
- run: pnpm checkUnknownFiles
2822
- run: pnpm lint
2923
- env:
@@ -38,29 +32,26 @@ jobs:
3832
name: Release
3933
run: pnpm semantic-release
4034
test:
41-
needs: cancel-existing
4235
runs-on: ${{ matrix.os }}
4336
steps:
4437
- uses: actions/checkout@v4
4538
with:
46-
fetch-depth: 0
4739
lfs: true
4840
- uses: actions/setup-node@v4
4941
with:
5042
check-latest: true
5143
node-version: ${{ matrix.node }}
5244
- run: corepack enable
53-
- env:
54-
COREPACK_INTEGRITY_KEYS: 0
55-
run: pnpm install --frozen-lockfile
45+
- run: pnpm install --frozen-lockfile
5646
- env:
5747
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5848
run: pnpm test
59-
- if: failure()
49+
- if: always()
6050
uses: actions/upload-artifact@v4
6151
with:
62-
name: Image Snapshot Diffs
63-
path: "**/__image_snapshots__/__diff_output__"
52+
if-no-files-found: ignore
53+
name: Images from tests
54+
path: test-results/*/**
6455
- if: matrix.os == 'ubuntu-latest' && matrix.node == 20
6556
uses: codecov/codecov-action@v3
6657
with:

.github/workflows/deprecated-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
comment: Auto-closing the issue
2626
issue-number: ${{ steps.create-deprecation-issue.outputs.number }}
27-
- uses: gautamkrishnar/keepalive-workflow@v1
27+
- uses: liskin/gh-workflow-keepalive@v1
2828
name: deprecated-dependencies
2929
on:
3030
schedule:

.github/workflows/sync-metadata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
approve: false
99
commitMessage: "fix: write GitHub metadata to package.json [{changes}]"
1010
githubToken: ${{ secrets.GITHUB_TOKEN }}
11-
- uses: gautamkrishnar/keepalive-workflow@v1
11+
- uses: liskin/gh-workflow-keepalive@v1
1212
name: sync-metadata
1313
on:
1414
schedule:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
/coverage
66
/dist
77
/node_modules
8+
/test-results

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tasks:
1212
git config --global user.name "Sebastian Landwehr"
1313
git config diff.lfs.textconv cat
1414
git lfs pull
15-
COREPACK_INTEGRITY_KEYS=0 pnpm install --frozen-lockfile
15+
pnpm install --frozen-lockfile
1616
vscode:
1717
extensions:
1818
- https://sebastianlandwehr.com/vscode-extensions/karlito40.fix-irregular-whitespace-0.1.1.vsix

.releaserc.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@
44
"@semantic-release/release-notes-generator",
55
"@semantic-release/changelog",
66
"@semantic-release/npm",
7-
"@semantic-release/github",
7+
[
8+
"@semantic-release/github",
9+
{
10+
"successComment": false
11+
}
12+
],
813
[
914
"@semantic-release/git",
1015
{

.renovaterc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
{
2323
"datasourceTemplate": "github-tags",
2424
"fileMatch": [
25-
"\\.js$"
25+
"\\.ts$"
2626
],
2727
"matchStrings": [
2828
"(^|[^\\w])gitHubAction`(?<depName>.*?)@v(?<currentValue>.*?)`"
@@ -33,7 +33,7 @@
3333
"datasourceTemplate": "node-version",
3434
"depNameTemplate": "node",
3535
"fileMatch": [
36-
"\\.js$"
36+
"\\.ts$"
3737
],
3838
"matchStrings": [
3939
"(^|[^\\w])nodejsVersion`(?<currentValue>.*?)`"

0 commit comments

Comments
 (0)