Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

fix(lint): remove unneccessary example file #5854

fix(lint): remove unneccessary example file

fix(lint): remove unneccessary example file #5854

Workflow file for this run

name: ci
on:
push:
branches:
- '**'
tags: ['v*.*.*']
pull_request:
types:
- 'opened'
- 'synchronize'
- 'reopened'
- 'labeled'
merge_group:
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
if: ${{ github.event.action != 'labeled' }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies 📦
run: yarn install --immutable
- name: Lint files
run: yarn run lint
- name: Run tests
run: yarn test
- name: Run build
run: yarn run build
docker:
uses: reims2/actions/.github/workflows/docker.yml@main
concurrency: docker-frontend-${{ github.ref }}
if: ${{ github.event_name != 'merge_group' && github.event.action != 'labeled' }}
secrets: inherit # pass all secrets
deploy:
needs:
- docker
- ci
if: github.ref == 'refs/heads/main'
uses: reims2/actions/.github/workflows/deploy.yml@main
concurrency: deploy-${{ github.repository }}
secrets: inherit # pass all secrets
dev-deploy:
needs:
- docker
if: github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/dev'
uses: reims2/actions/.github/workflows/dev-deploy.yml@main
concurrency: dev-deploy-${{ github.repository }}
secrets: inherit # pass all secrets
pr-deploy:
needs:
- docker
if: ${{ (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'deploy')) }}
uses: reims2/actions/.github/workflows/deploy-instance.yml@main
concurrency: pr-deploy-frontend-${{ github.ref }}
with:
instance_name: frontend-pr-${{ github.event.number || 'unknown' }}
secrets: inherit # pass all secrets
e2e:
needs:
- deploy
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Install Playwright Browsers
run: yarn playwright install --with-deps
- name: Run Playwright tests
run: yarn playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30