Skip to content

chore(release): 2.1.1 #29

chore(release): 2.1.1

chore(release): 2.1.1 #29

Workflow file for this run

name: checks
on:
- push
- pull_request
jobs:
# Note : i didn't inherited from the org workflow since we need to install pnpm in this
# workflow. we may need to add a new input to the org workflow to enable/disable pnpm
# installation
test_linux:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.16.0, 20.x]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
test_windows:
if: ${{ !inputs.disable-windows }}
runs-on: windows-latest
strategy:
matrix:
node-version: [18.16.0, 20.x]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
lint:
uses: japa/.github/.github/workflows/lint.yml@main
typecheck:
uses: japa/.github/.github/workflows/typecheck.yml@main