Skip to content

Commit

Permalink
ci: added check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasgeiler committed Apr 20, 2024
1 parent d0d9402 commit a5a1ee6
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Check

on:
push:
branches:
- main
- 'renovate/**'
paths-ignore:
- '**.md'
- '.gitignore'
- 'assets/**'
- '.github/**'
- '!.github/workflows/check.yml'

pull_request:
branches:
- main
paths-ignore:
- '**.md'
- '.gitignore'
- 'assets/**'
- '.github/**'
- '!.github/workflows/check.yml'

workflow_dispatch:
workflow_call:

jobs:
lint-check-and-test:
name: Lint, Check & Test
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Setup PNPM
uses: pnpm/[email protected]

- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: 18
cache: pnpm

- name: Install Dependencies
run: |
pnpm install
pnpm exec playwright install --with-deps
- name: Lint
run: pnpm run lint

- name: Check
run: pnpm run check

- name: Test
run: pnpm run test

0 comments on commit a5a1ee6

Please sign in to comment.