Remove dependency on glob #8
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: Node based checks | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'next' | |
pull_request: | |
concurrency: | |
# Pushing new changes to a branch will cancel any in-progress CI runs | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Linting | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [14.x, 16.x, 18.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Use Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: yarn | |
- name: Install dependencies | |
run: yarn --frozen-lockfile --non-interactive --prefer-offline | |
- name: Lint | |
run: yarn lint | |
test: | |
name: Testing | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [14.x, 16.x, 18.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Use Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: yarn | |
- name: Install dependencies | |
run: yarn --frozen-lockfile --non-interactive --prefer-offline | |
- name: Jest Specs | |
run: yarn test |