docusaurus/.github/workflows/showcase-test.yml
dependabot[bot] cc7f43580c
chore(deps): bump actions/setup-node from 4.0.1 to 4.0.2 (#9843)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 11:21:17 +01:00

35 lines
803 B
YAML

name: Showcase Tests
on:
pull_request:
branches:
- main
- docusaurus-v**
paths:
- website/src/data/**
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
validate-config:
name: Validate Showcase Config
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: '16'
cache: yarn
- name: Installation
run: yarn
- name: Test
run: yarn test website/src/data/__tests__/user.test.ts