Process N ndjson chunks at a time #23
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: cdm-ci | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on pull request events but only for the master branch | |
# ignore pull requests that only change documentation/license files | |
pull_request: | |
branches: [ master ] | |
paths-ignore: | |
- LICENSE | |
- '**.md' | |
- .github/workflows/run-crucible-tracking.yaml | |
- .github/workflows/faux-crucible-ci.yaml | |
- .github/workflows/faux-cdm-ci.yaml | |
- 'docs/**' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.ref }}/cdm-ci | |
cancel-in-progress: true | |
jobs: | |
# Job to test installation | |
cdm-ci: | |
# Job will run on github-hosted runner | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20.7.0" | |
- name: fail if javascript files are not formatted | |
run: npx prettier **/*.js --check | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |