feat: flavor snippets #467
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: Docs CI | |
on: | |
push: | |
branches: [main, docs/ui] | |
pull_request: | |
branches: [main, docs/ui] | |
merge_group: | |
branches: [main, docs/ui] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 19 | |
cache: 'npm' | |
- run: npm ci | |
- run: npm run lint --if-present | |
- run: npm run build --if-present | |
env: | |
NODE_OPTIONS: '--max_old_space_size=4096' | |
# disabled because the output of textlint marks warnings as errors | |
# # re-run lint:text with junit output for github annotations | |
# - run: npm run lint:text -- --format junit --output-file lint-report.xml | |
# - uses: mikepenz/action-junit-report@v3 | |
# if: always() | |
# with: | |
# report_paths: 'lint-report.xml' |