Skip to content

ci: remove prettier-standard #220

ci: remove prettier-standard

ci: remove prettier-standard #220

Workflow file for this run

name: pull_request
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test-unix:
if: github.ref != 'refs/heads/master'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['lts/*', 'latest']
steps:
- name: Checkout
uses: actions/checkout@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- name: Setup PNPM
uses: pnpm/action-setup@v6
with:
version: latest
- name: Install
run: pnpm install --ignore-scripts
- name: Test
run: pnpm test
- name: Report
run: ./node_modules/.bin/c8 report --reporter=text-lcov > coverage/lcov.info
- name: Coverage
uses: coverallsapp/github-action@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
test-win:
if: github.ref != 'refs/heads/master'
runs-on: windows-latest
strategy:
matrix:
node-version: ['lts/*', 'latest']
steps:
- name: Checkout
uses: actions/checkout@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- name: Setup PNPM
uses: pnpm/action-setup@v6
with:
version: latest
- name: Install
run: pnpm install --ignore-scripts
- name: Test
run: pnpm test
- name: Report
run: ./node_modules/.bin/c8 report --reporter=text-lcov > coverage/lcov.info
- name: Coverage
uses: coverallsapp/github-action@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}