Skip to content
Merged
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
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,17 @@ on:
pull_request:
workflow_dispatch:

# Opt every JavaScript action into Node.js 24 now (GitHub forces it by June 2026).
# Silences the Node 20 deprecation warnings for actions that don't yet ship a
# Node 24 major (docker/*, setup-terraform, setup-php).
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"

jobs:
terraform:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: hashicorp/setup-terraform@v3
- name: fmt
run: terraform fmt -check -recursive iac/
Expand All @@ -31,7 +37,7 @@ jobs:
php-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: shivammathur/setup-php@v2
with:
php-version: '8.5'
Expand All @@ -44,14 +50,14 @@ jobs:
shell-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: bash -n on scripts
run: for s in spip/scripts/*.sh; do bash -n "$s"; done

docker-build:
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: docker/setup-buildx-action@v3
- name: Read pinned SPIP version
run: echo "SPIP_VERSION=$(cat spip/SPIP_VERSION)" >> "$GITHUB_ENV"
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ concurrency:
group: deploy-${{ github.ref_name }}
cancel-in-progress: false

# Opt every JavaScript action into Node.js 24 now (GitHub forces it by June 2026).
# Silences the Node 20 deprecation warnings for actions that don't yet ship a
# Node 24 major (docker/*, setup-terraform, setup-php, cache, aws-actions/*).
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"

jobs:
deploy:
runs-on: ubuntu-24.04-arm
Expand All @@ -45,7 +51,7 @@ jobs:
AWS_ACCOUNT_ID: ${{ vars.AWS_ACCOUNT_ID }}
ECR_REPO: spip-serverless
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Read pinned SPIP version + ADOT layer
run: |
Expand Down
Loading