Download tsdx/.github/workflows/nodejs.yml from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.19 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tsdx/.github/workflows/nodejs.yml
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tsdx/.github/workflows/nodejs.yml
-
curl -L -o nodejs.yml https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tsdx/.github/workflows/nodejs.yml
1.19 kB
| name: Node CI | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| lint-and-dedupe: | |
| runs-on: ubuntu-latest | |
| name: Lint & Deduplicate deps on node 10.x and ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v2 | |
| - name: Use Node 10.x | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 10.x | |
| - name: Install deps and build (with cache) | |
| uses: bahmutov/npm-install@v1 | |
| - name: Lint codebase | |
| run: yarn lint:post-build | |
| - name: Deduplicate dependencies | |
| run: yarn deduplicate:check | |
| test: | |
| name: Test on Node ${{ matrix.node }} and ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| node: ['10.x', '12.x', '14.x'] | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v2 | |
| - name: Use Node ${{ matrix.node }} | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Install deps and build (with cache) | |
| uses: bahmutov/npm-install@v1 | |
| - name: Test package | |
| run: yarn test:post-build | |