Skip to content

chore: update some tooling for updated glob #161

chore: update some tooling for updated glob

chore: update some tooling for updated glob #161

name: Lint and Test
# Controls when the action will run.
on:
push:
branches:
- '**'
tags:
- 'v**'
pull_request:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
lint:
name: Lint and Type check
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Prepare Environment
run: |
corepack enable
yarn
env:
CI: true
- name: Type check
run: yarn build
env:
CI: true
- name: Lint
run: |
yarn lint
env:
CI: true
test:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: ['18']
os: [ubuntu-latest] # [windows-latest, macOS-latest]
timeout-minutes: 10
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
- name: Prepare Environment
run: |
corepack enable
yarn
yarn build
env:
CI: true
- name: Run unit tests
run: |
yarn test
env:
CI: true