Skip to content

Commit

Permalink
ci: fix some issues and bump node
Browse files Browse the repository at this point in the history
  • Loading branch information
pure-js committed Oct 31, 2023
1 parent 8d34ef6 commit bc18e92
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 7 deletions.
30 changes: 30 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Add 'repo' label to any root file changes
repo:
- '*'

# Add '@domain/core' label to any change within the 'core' package
'@domain/core':
- package/core/**

# Add 'test' label to any change to *.spec.js files within the source dir
test:
- src/**/*.spec.js

# Add 'source' label to any change to src files within the source dir EXCEPT for the docs sub-folder
source:
- any: ['src/**', '!src/docs/*']

# Add 'frontend` label to any change to *.js files as long as the `main.js` hasn't changed
frontend:
- any: ['src/**/*.js']
all: ['!src/main.js']

# Add the 'AnyChange' label to any changes within the entire repository if the 'dot' option is set to 'false'
AnyChange:
- '**'
- '**/.*'
- '**/.*/**'
- '**/.*/**/.*'
# Add the 'AnyChange' label to any changes within the entire repository if the 'dot' option is set to 'true'
# AnyChange:
# - '**'
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
node-version: [20]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
node-version: [20]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
node-version: [20]
env:
CI: true
DEBUG: pw:webserver
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
node-version: [20]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
Expand Down
2 changes: 1 addition & 1 deletion lighthouserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ ci:
'categories:accessibility': ['error', { 'minScore': 0.97 }]
'categories:best-practices': ['error', { 'minScore': 0.92 }]
'categories:pwa': ['off']
'categories:seo': ['error', { 'minScore': 1 }]
'categories:seo': ['error', { 'minScore': 0.94 }]
upload:
target: 'temporary-public-storage'
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
"microblogging"
],
"engines": {
"node": ">=18.12",
"npm": ">=8.19.2"
"node": ">=20.9.0",
"pnpm": ">=8.10.0"
},
"msw": {
"workerDirectory": "public"
Expand Down

0 comments on commit bc18e92

Please sign in to comment.