Merge pull request #3 from Annosha/test-module #9
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
merge_group: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: 'npm' | |
cache-dependency-path: | | |
package-lock.json | |
node-version: '20' | |
- name: Bootstrap | |
run: npm ci | |
- name: Lint | |
run: | | |
npm run lint | |
npm run lint:examples | |
- name: Lint doc files | |
run: | | |
npm run compile | |
NODE_OPTIONS=--max-old-space-size=6144 npm run docs | |
npm run docs:test |