Skip to content

chore: add prettier:fix script #522

chore: add prettier:fix script

chore: add prettier:fix script #522

Workflow file for this run

name: node.js
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
FORCE_COLOR: 1
PRINT_OFFLINE_OUTPUT: 1
jobs:
build:
name: '[${{ matrix.os }}] node.js v${{ matrix.node-version }}'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node-version: [18, 20]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: actions/setup-go@v4
with:
go-version: '1'
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- run: npm ci
- run: npm run prettier
- run: npm run lint
- run: npm test