Skip to content

test: enable x-platform tests #41

test: enable x-platform tests

test: enable x-platform tests #41

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
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
- macos-latest
- windows-latest
version:
- 18
- 19
timeout-minutes: 10
name: Test and build
on:
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened
- ready_for_review