Bump the npm group in /Website with 10 updates (#1106) #225
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: Website | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- Website/** | |
pull_request: | |
paths: | |
- Website/** | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
playwright: | |
uses: ./.github/workflows/playwright-test.yaml | |
secrets: inherit | |
with: | |
ref: ${{ github.ref }} | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Setup node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: "pnpm" | |
cache-dependency-path: "Website/pnpm-lock.yaml" | |
- name: Install dependencies | |
working-directory: Website/ | |
run: pnpm install | |
- name: Prettier | |
working-directory: Website/ | |
run: pnpm run lint:prettier | |
- name: ESLint | |
working-directory: Website/ | |
if: success() || failure() | |
run: pnpm run lint:eslint | |
- name: svelte-check | |
working-directory: Website/ | |
if: success() || failure() | |
run: pnpm run check |