Skip to content

Commit

Permalink
Merge pull request #271 from oddbird/upgrade-node-yarn
Browse files Browse the repository at this point in the history
Upgrade node and yarn
  • Loading branch information
jgerigmeyer authored Feb 22, 2024
2 parents 9ab4211 + 0ef2c79 commit 685e056
Show file tree
Hide file tree
Showing 7 changed files with 2,994 additions and 3,848 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ root: true
parser: '@typescript-eslint/parser'
parserOptions:
sourceType: module
ecmaVersion: 2018
ecmaVersion: 2022
env:
es6: true
node: true
Expand Down
19 changes: 18 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
version: 2

updates:
- package-ecosystem: github-actions
directory: '/'
schedule:
interval: weekly
interval: monthly
time: '04:00'
timezone: America/New_York

- package-ecosystem: npm
directory: '/'
versioning-strategy: increase
schedule:
interval: monthly
time: '04:00'
timezone: America/New_York
groups:
npm-major-upgrades:
update-types:
- 'major'
npm-minor-upgrades:
update-types:
- 'minor'
- 'patch'
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,26 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ['14', 'lts/*']
node: ['18', 'lts/*']
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn install --immutable
- run: yarn test

lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn install --immutable
- run: yarn lint:ci
875 changes: 0 additions & 875 deletions .yarn/releases/yarn-3.7.0.cjs

This file was deleted.

6 changes: 4 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
compressionLevel: mixed

enableGlobalCache: false

nodeLinker: node-modules

packageExtensions:
markdown-it-anchor@*:
peerDependenciesMeta:
'@types/markdown-it':
optional: true

yarnPath: .yarn/releases/yarn-3.7.0.cjs
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"README.md"
],
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
"node": ">=18"
},
"scripts": {
"test:src": "jest",
Expand Down Expand Up @@ -104,5 +104,5 @@
"sassDir": "./sass/",
"exports": false
},
"packageManager": "yarn@3.7.0"
"packageManager": "yarn@4.1.0"
}
Loading

0 comments on commit 685e056

Please sign in to comment.