Skip to content

Commit

Permalink
chore: drop node 19, add node 20 and 21 to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak committed Oct 31, 2023
1 parent 37deed2 commit 0a5bc98
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 24 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/browser-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,15 @@ jobs:
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: lts/*
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: 'Cache node_modules'
uses: actions/cache@v3
with:
path: '~/.npm'
key: "ubuntu-latest-node-full-v16-${{ hashFiles('**/package-lock.json') }}"
restore-keys: |
ubuntu-latest-node-full-v16-
key: "ubuntu-latest-node-full-lts-${{ hashFiles('**/package-lock.json') }}"
- name: Install Dependencies
run: npm ci
- name: Run Browser Tests
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/delete-runs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
inputs:
days:
description: 'Number of days'
type: number
required: true
default: 180

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/mocha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ jobs:
- 14
- 16
- 18
- 19
- 20
- 21
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -61,15 +62,13 @@ jobs:
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: lts/*
- uses: actions/checkout@v3
- name: 'Cache node_modules'
uses: actions/cache@v3
with:
path: '~/.npm'
key: "ubuntu-latest-node-v16-${{ hashFiles('**/package-lock.json') }}"
restore-keys: |
ubuntu-latest-node-v16-
key: "ubuntu-latest-node-lts-${{ hashFiles('**/package-lock.json') }}"
- name: Install Dependencies
run: npm ci --ignore-scripts
- name: 'Check lint'
Expand All @@ -90,7 +89,8 @@ jobs:
- 14
- 16
- 18
- 19
- 20
- 21
include:
- os: ubuntu-latest
node: 16
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: lts/*
- uses: actions/checkout@v3
- name: 'Cache node_modules'
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-site-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Webhook Action
uses: joelwmale/webhook-action@1.0.0
uses: joelwmale/webhook-action@2.3.2
env:
data: ''
WEBHOOK_URL: ${{ secrets.NETLIFY_NIGHTLY_DEPLOY_URL }}
18 changes: 7 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"@rollup/plugin-node-resolve": "^13.1.3",
"assetgraph-builder": "^9.0.0",
"autoprefixer": "^9.8.6",
"canvas": "^2.9.0",
"canvas": "^2.11.2",
"chai": "^4.3.4",
"coffeescript": "^2.6.1",
"coveralls": "^3.1.1",
Expand Down

0 comments on commit 0a5bc98

Please sign in to comment.