Skip to content

Update action versions to use Node 20 #1775

Update action versions to use Node 20

Update action versions to use Node 20 #1775

Workflow file for this run

name: test
on:
push:
branches:
- '**'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_matrix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: set-matrix
run: echo "matrix=$(find * -type f -name build.yml | xargs dirname | sort | uniq | jq --raw-input . | jq -c --slurp .)" >> $GITHUB_OUTPUT
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
build:
needs: build_matrix
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 12
matrix:
project: ${{ fromJson(needs.build_matrix.outputs.matrix) }}
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
id: buildx
with:
install: true
- name: Build
run: |
touch .env # Create dummy env file
cd ${{matrix.project}}
docker buildx bake -f build.yml --set node_1.tags=node