diff --git a/.gitea/workflows/frontend-ci.yaml b/.gitea/workflows/frontend-ci.yaml index 78e925c..9021a48 100644 --- a/.gitea/workflows/frontend-ci.yaml +++ b/.gitea/workflows/frontend-ci.yaml @@ -1,25 +1,32 @@ name: Frontend CI on: [push] +defaults: + run: + working-directory: ./frontend + jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - + - name: Install pnpm uses: pnpm/action-setup@v4 + with: + version: 10 + run_install: false - - name: Install Node.js + - name: Install node.js uses: actions/setup-node@v4 with: node-version: 20 - cache: 'pnpm' - + cache: "pnpm" + - name: Install dependencies run: pnpm install - + - name: ESLint run: pnpm run lint