Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/download-artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
using: 'composite'
steps:
- name: 'Download ${{ inputs.pattern }} artifacts'
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
pattern: ${{ inputs.pattern }}
path: build
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: 'Setup Node.js and install dependencies'
runs:
using: 'composite'
steps:
- uses: actions/setup-node@v4
- uses: actions/setup-node@v7
with:
node-version-file: 'package.json'
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/upload-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
using: composite
steps:
- name: Upload ${{ inputs.artifact-name }} artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ inputs.artifact-name }}
path: ${{ inputs.path }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: 'Bundle single clever.cjs'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- name: 'Bundle to single clever.cjs'
run: ./scripts/bundle-cjs.js ${{ inputs.version }} ${{ inputs.isPreview }}
Expand All @@ -34,7 +34,7 @@ jobs:
needs: bundle-cjs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/download-artifacts
with: { pattern: bundle-cjs }
Expand All @@ -56,7 +56,7 @@ jobs:
needs: bundle-cjs
runs-on: macos-14
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/download-artifacts
with: { pattern: bundle-cjs }
Expand All @@ -75,7 +75,7 @@ jobs:
runs-on: windows-2025
if: ${{ inputs.include-windows }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/download-artifacts
with: { pattern: bundle-cjs }
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: 'Code quality'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
with: { fetch-depth: 0 }
- uses: ./.github/actions/setup-node
- name: 'Check commit message format with commitlint'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/preview-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- name: 'Delete preview'
run: ./scripts/preview.js delete ${{ github.event.pull_request.head.ref }}
- name: 'Remove preview links from PR comment'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v3.0.5
with:
message: 🔎 The preview has been automatically deleted.
4 changes: 2 additions & 2 deletions .github/workflows/preview-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/download-artifacts
with: { pattern: build-* }
Expand All @@ -50,6 +50,6 @@ jobs:
./scripts/preview.js pr-comment ${{ github.event.pull_request.head.ref }} >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: 'Add comment with preview links to PR'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v3.0.5
with:
message: ${{ steps.preview-links.outputs.links }}
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
with:
token: ${{ secrets.CI_TOKEN }}
fetch-depth: 0
Expand Down
42 changes: 21 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/download-artifacts
with: { pattern: build-linux-binary }
Expand All @@ -36,7 +36,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/download-artifacts
with: { pattern: build-linux-binary }
Expand All @@ -57,9 +57,9 @@ jobs:
# We don't reuse ".github/actions/setup-node"
# because we don't need the "npm ci" and we want the official https://registry.npmjs.org
- name: 'Checkout sources'
uses: actions/checkout@v5
uses: actions/checkout@v7
- name: 'Setup Node.js'
uses: actions/setup-node@v6
uses: actions/setup-node@v7
with:
# Here we use lts because we need a recent version of npm for the new OIDC publication on npmjs.org
node-version: 'lts/*'
Expand All @@ -73,7 +73,7 @@ jobs:
needs: [build, package-rpm, package-deb]
steps:
- name: 'Checkout sources'
uses: actions/checkout@v5
uses: actions/checkout@v7
- uses: ./.github/actions/download-artifacts
with: { pattern: build-*-archive }
- uses: ./.github/actions/download-artifacts
Expand All @@ -89,7 +89,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/download-artifacts
with: { pattern: build-*-archive }
Expand All @@ -105,7 +105,7 @@ jobs:
needs: package-rpm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/download-artifacts
with: { pattern: package-rpm }
Expand All @@ -121,7 +121,7 @@ jobs:
needs: package-deb
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/download-artifacts
with: { pattern: package-deb }
Expand All @@ -138,14 +138,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Setup SSH key'
uses: webfactory/ssh-agent@v0.9.1
uses: webfactory/ssh-agent@v0.10.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: 'Add AUR to known hosts'
run: |
mkdir -p ~/.ssh
ssh-keyscan -H aur.archlinux.org >> ~/.ssh/known_hosts
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/download-artifacts
with: { pattern: build-linux-archive }
Expand All @@ -160,14 +160,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Setup SSH key'
uses: webfactory/ssh-agent@v0.9.1
uses: webfactory/ssh-agent@v0.10.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: 'Add AUR to known hosts'
run: |
mkdir -p ~/.ssh
ssh-keyscan -H aur.archlinux.org >> ~/.ssh/known_hosts
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- name: 'Publish to AUR'
run: ./scripts/publish-aur.js ${{ github.ref_name }} nodejs
Expand All @@ -180,10 +180,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Setup SSH key'
uses: webfactory/ssh-agent@v0.9.1
uses: webfactory/ssh-agent@v0.10.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/download-artifacts
with: { pattern: build-macos-archive }
Expand All @@ -198,10 +198,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Setup SSH key'
uses: webfactory/ssh-agent@v0.9.1
uses: webfactory/ssh-agent@v0.10.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- name: 'Publish to Docker Hub (and related GitHub project)'
run: ./scripts/publish-dockerhub.js ${{ github.ref_name }}
Expand All @@ -218,10 +218,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Setup SSH key'
uses: webfactory/ssh-agent@v0.9.1
uses: webfactory/ssh-agent@v0.10.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- name: 'Publish to GitHub for exherbo'
run: ./scripts/publish-exherbo.js ${{ github.ref_name }}
Expand All @@ -233,7 +233,7 @@ jobs:
needs: package-rpm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/download-artifacts
with: { pattern: package-rpm }
Expand All @@ -249,7 +249,7 @@ jobs:
needs: package-deb
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- uses: ./.github/actions/download-artifacts
with: { pattern: package-deb }
Expand All @@ -265,7 +265,7 @@ jobs:
needs: publish-cellar-archives
runs-on: windows-2025
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
- uses: ./.github/actions/setup-node
- name: 'Sync winget-pkgs fork with upstream'
shell: bash
Expand Down