-
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 795 Bytes
/
showcase-test.yml
File metadata and controls
34 lines (30 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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@8ade135a41bc03ea155e62e844d188df1ea18608 # v3
- name: Set up Node
uses: actions/setup-node@5b949b50c3461bbcd5a540b150c368278160234a # v3
with:
node-version: '16'
cache: yarn
- name: Installation
run: yarn
- name: Test
run: yarn test website/src/data/__tests__/user.test.ts