Skip to content

fix: use powershell if available on windows #46

fix: use powershell if available on windows

fix: use powershell if available on windows #46

Workflow file for this run

jobs:
lint:
environment: release
name: Lint
runs-on: ubuntu-latest
steps:
- name: setup repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: setup node.js
uses: actions/setup-node@v2
with:
cache: 'npm'
node-version: '19'
- run: npm ci
- run: npm run lint:eslint
- run: npm run lint:tsc
- run: npm run lint:cspell
timeout-minutes: 10
test:
environment: release
name: Test
needs:
- lint
runs-on: ${{ matrix.os }}
steps:
- name: setup repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: setup node.js
uses: actions/setup-node@v2
with:
cache: 'npm'
node-version: ${{ matrix.version }}
- run: npm ci
- env:
ROARR_LOG: 'true'
run: npm run test:vitest
- run: npm run build
strategy:
matrix:
os:
- ubuntu-latest
version:
- 18
- 19
timeout-minutes: 10
name: Test and build
on:
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened
- ready_for_review