Skip to content

chore(github): 🤖 add missing runs-on to jobs #4

chore(github): 🤖 add missing runs-on to jobs

chore(github): 🤖 add missing runs-on to jobs #4

name: continuous integration
on:
- push
jobs:
lint frontend:

Check failure on line 7 in .github/workflows/continuousIntgration.yml

View workflow run for this annotation

GitHub Actions / continuous integration

Invalid workflow file

The workflow is not valid. .github/workflows/continuousIntgration.yml (Line: 7, Col: 3): The identifier 'lint frontend' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters. .github/workflows/continuousIntgration.yml (Line: 25, Col: 3): The identifier 'build frontend' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
runs-on: ubuntu-latest
steps:
# setup
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 22.x
cache: "pnpm"
- run: pnpm install
# script
- run: pnpm -C frontend lint:eslint
- run: pnpm -C frontend lint:prettier
- run: pnpm -C frontend check
build frontend:
runs-on: ubuntu-latest
steps:
# setup
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: 22.x
cache: "pnpm"
- run: pnpm install
# script
- run: pnpm -C frontend build