Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Update Node.js to v20.5.1 #132

Update Node.js to v20.5.1

Update Node.js to v20.5.1 #132

Workflow file for this run

name: ci
on:
push:
branches:
- '**'
tags: ['v*.*.*']
pull_request:
merge_group:
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies 📦
run: yarn install --immutable
- name: Run build
run: yarn run build
docker:
uses: reims2/actions/.github/workflows/docker.yml@main
concurrency: docker-${{ github.ref }}
if: ${{ github.event_name != 'merge_group' }}
secrets: inherit # pass all secrets
deploy:
needs:
- docker
if: github.ref == 'refs/heads/main'
uses: reims2/actions/.github/workflows/deploy.yml@main
concurrency: deploy-${{ github.repository }}
secrets: inherit # pass all secrets
dev-deploy:
needs:
- docker
if: github.event_name == 'workflow_dispatch'
uses: reims2/actions/.github/workflows/dev-deploy.yml@main
concurrency: dev-deploy-${{ github.repository }}
secrets: inherit # pass all secrets