Move worklet function declarations to variable declarations #460
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test docs build | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/docs-check.yml' | |
- 'docs/**' | |
merge_group: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
WORKING_DIRECTORY: docs | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'yarn' | |
- name: Install node dependencies | |
working-directory: ${{ env.WORKING_DIRECTORY }} | |
run: yarn | |
- name: Lint check docs | |
working-directory: ${{ env.WORKING_DIRECTORY }} | |
run: yarn lint | |
- name: Build docs | |
working-directory: ${{ env.WORKING_DIRECTORY }} | |
run: yarn build |