Skip to content

[Actions] ⚡ Optimize workflows #7440

[Actions] ⚡ Optimize workflows

[Actions] ⚡ Optimize workflows #7440

Workflow file for this run

name: CI
on:
push:
branches:
- main
- next
pull_request:
workflow_dispatch:
jobs:
lint:
name: "Lint"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup project
uses: ./.github/actions/setup
- name: Lint
run: yarn lint
validate-examples:
name: "Validate Examples"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup project
uses: ./.github/actions/setup
- name: Validate example code
run: yarn validate:eksempler
test:
name: "Test"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup project
uses: ./.github/actions/setup
- name: Test
run: yarn test