-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Drop support for Node.js<v18.18 (#355)
* feat!: Drop support for Node.js<v18.18 * Create happy-mayflies-swim.md
- Loading branch information
Showing
7 changed files
with
83 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"eslint-plugin-astro": major | ||
--- | ||
|
||
feat!: Drop support for Node.js<v18.18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,10 +12,8 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
- name: Install Packages | ||
run: npm install --legacy-peer-deps | ||
run: npm install -f | ||
- name: build | ||
run: | | ||
npm run build | ||
|
@@ -29,7 +27,7 @@ jobs: | |
- uses: actions/setup-node@v4 | ||
- name: Install And Build | ||
run: |+ | ||
npm install --legacy-peer-deps | ||
npm install -f | ||
npm run update | ||
npm run build | ||
export NODE_OPTIONS="--max-old-space-size=8192" | ||
|
@@ -38,15 +36,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [18.x, 20.x] | ||
node-version: [18.x, 20.x, 22.x] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install Packages | ||
run: npm install --legacy-peer-deps | ||
run: npm install -f | ||
- name: Test | ||
run: npm test | ||
test-for-eslint-v9: | ||
|
@@ -57,17 +55,17 @@ jobs: | |
uses: actions/setup-node@v4 | ||
- name: Install eslint v9 | ||
run: |+ | ||
npm i -D eslint@^9.0.0-0 --legacy-peer-deps | ||
npm i -D eslint@^9.0.0 -f | ||
npx rimraf node_modules | ||
- name: Install Packages | ||
run: npm install --legacy-peer-deps | ||
run: npm install -f | ||
- name: Test | ||
run: npm test | ||
test-for-eslint-v7: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [14.x] | ||
node-version: [18.x] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
|
@@ -76,45 +74,7 @@ jobs: | |
node-version: ${{ matrix.node-version }} | ||
- name: Install eslint v7 | ||
run: |+ | ||
npm i -D eslint@7 @typescript-eslint/parser@5 --legacy-peer-deps | ||
npx rimraf node_modules | ||
- name: Install Packages | ||
run: npm install --legacy-peer-deps | ||
- name: Test | ||
run: npm test | ||
test-for-node-v14: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [14.x] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install @typescript-eslint/parser v5 | ||
run: |+ | ||
npm i -D @typescript-eslint/parser@5 eslint@8 -f | ||
npx rimraf node_modules | ||
- name: Install Packages | ||
run: npm install -f | ||
- name: Test | ||
run: npm test | ||
test-for-node-v16: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install eslint v8 | ||
run: |+ | ||
npm i -D eslint@8 -f | ||
npm i -D eslint@7 @typescript-eslint/parser@5 -f | ||
npx rimraf node_modules | ||
- name: Install Packages | ||
run: npm install -f | ||
|
@@ -126,10 +86,10 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
- name: Install Packages | ||
run: npm install --legacy-peer-deps | ||
run: npm install -f | ||
- name: Test | ||
run: npm run cover | ||
- name: Coveralls GitHub Action | ||
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # v2.2.3 | ||
uses: coverallsapp/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.