Skip to content

Commit

Permalink
Updates for Node 22.
Browse files Browse the repository at this point in the history
  • Loading branch information
qubyte committed Apr 25, 2024
1 parent 6213455 commit b8f9f57
Show file tree
Hide file tree
Showing 8 changed files with 314 additions and 314 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@main
- name: use node 20
- name: use node 22
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version: 22.x
- run: npm ci
- run: npm test
- run: node --test
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@main
- name: use node 20
- name: use node 22
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version: 22.x
- run: npm ci
- run: npm run lint
- run: node --run lint
4 changes: 2 additions & 2 deletions .github/workflows/micropub-media-conversion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@main
- name: use node 20
- name: use node 22
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version: 22.x
- run: npm ci
- name: Convert JPEGs
run: node scripts/convert-jpegs.js ${{needs.get-added-files.outputs.jpeg}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-scheduled-posts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@main
- name: use node 20
- name: use node 22
uses: actions/setup-node@v3
with:
node-version: '20.x'
node-version: '22.x'
- name: publish scheduled
env:
BUILD_HOOK_URL: ${{ secrets.BUILD_HOOK_URL }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/syndicate-to-mastodon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@main
- name: use node 20
- name: use node 22
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version: 22.x
- name: Dispatch mastodon API call
run: node scripts/syndicate-to-mastodon.js --base-url ${{ secrets.MASTODON_BASE_URL }} --access-token ${{ secrets.MASTODON_ACCESS_TOKEN }} ${{ needs.get-added-files.outputs.documents }}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build]
publish = "public"
command = "npm run build"
command = "node --run build"

[build.processing]
skip_processing = true
Expand Down

0 comments on commit b8f9f57

Please sign in to comment.