Skip to content

Bump docker/setup-buildx-action from 2.9.1 to 3.3.0 #36

Bump docker/setup-buildx-action from 2.9.1 to 3.3.0

Bump docker/setup-buildx-action from 2.9.1 to 3.3.0 #36

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
paths-ignore:
- '**.md'
env:
NODE_VERSION: '20.x' # Changed to a version pattern in case you want to use the latest v20 release.
jobs:
checkout-setup:
name: πŸš€ Checkout and Setup
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
outputs:
cache-key: ${{ steps.cache.outputs.cache-key }}
steps:
- name: ‡️ Checkout repository
uses: actions/checkout@v4.1.1
- name: πŸ— Setup nodejs
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: πŸ— Setup nodejs corepack
run: corepack enable
- name: πŸ— Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: ⬇️ Get yarn config
id: yarn_config
run: echo "cache-folder=$(yarn config get cacheFolder)" >> $GITHUB_ENV
- name: πŸ— Cache node_modules
id: cache
uses: actions/cache@v3.3.2
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
/tmp/.buildx-cache
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
lint:
name: πŸš€ ESLint Scanning
runs-on: ubuntu-latest
needs: checkout-setup
steps:
- name: ‡️ Checkout repository
uses: actions/checkout@v4.1.1
- name: πŸ— Install dependencies
run: yarn install --immutable
- name: 🚨 Lint All Projects
run: yarn lint:all
typescript:
name: πŸš€ Build Typescript
runs-on: ubuntu-latest
needs: checkout-setup
steps:
- name: ‡️ Checkout repository
uses: actions/checkout@v4.1.1
- name: πŸ— Install dependencies
run: yarn install --immutable
- name: πŸ”¨ Build All Projects
run: yarn build:all
test:
name: πŸš€ Unit Test
runs-on: ubuntu-latest
needs: checkout-setup
steps:
- name: ‡️ Checkout repository
uses: actions/checkout@v4.1.1
- name: πŸ— Install dependencies
run: yarn install --immutable
- name: βœ… Unit Test All Projects
run: yarn test:all