chore: bump node from 22-alpine to 23-alpine in /frontend #175
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Frontend | |
on: | |
push: | |
workflow_call: | |
workflow_dispatch: | |
env: | |
NODE_VERSION: 18 | |
PNPM_VERSION: 8 | |
WORKING_DIRECTORY: frontend | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ${{ env.WORKING_DIRECTORY }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-pnpm-node | |
- name: Run prettier and eslint | |
run: pnpm lint | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ${{ env.WORKING_DIRECTORY }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-pnpm-node | |
- name: Build Frontend | |
run: pnpm build | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ${{ env.WORKING_DIRECTORY }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-pnpm-node | |
- name: Store Playwright version | |
shell: bash | |
run: echo "PLAYWRIGHT_VERSION=$(pnpm exec playwright --version | awk '{ print $2 }')" >> $GITHUB_ENV | |
- uses: ./.github/actions/setup-playwright | |
- name: Test Frontend | |
run: pnpm test | |
check: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ${{ env.WORKING_DIRECTORY }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-pnpm-node | |
- name: Check Frontend | |
run: | | |
pnpm build | |
pnpm check |