Prepare for realm-react-0.5.2 #4479
Workflow file for this run
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: Linting (Pull Request) | |
on: pull_request | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
REALM_DISABLE_ANALYTICS: 1 | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
# Install the root package (--ignore-scripts to avoid downloading or building the native module) | |
- name: Install root package dependencies | |
run: npm ci --ignore-scripts | |
- name: Run linting of subpackages | |
run: npm run lint | |
- name: Run linting of C++ code | |
run: npm run lint:cpp |