Skip to content

fix: add force to upgrade-eslint-prettier #48

fix: add force to upgrade-eslint-prettier

fix: add force to upgrade-eslint-prettier #48

Workflow file for this run

name: test
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: adonisjs/.github/.github/workflows/lint.yml@main
typecheck:
uses: adonisjs/.github/.github/workflows/typecheck.yml@main