Skip to content

style: code format #344

style: code format

style: code format #344

Workflow file for this run

name: Build
on:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [20.x]
os: [windows-latest, ubuntu-latest]
steps:
- name: Setup Git Config
run: |
git config --global core.autocrlf false
git config --global core.eol lf
git config --global user.email "[email protected]"
git config --global user.name "gh-actions"
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: 8.15.1
- uses: actions/setup-node@v2
with:
node-version: "20.x"
cache: "pnpm"
- run: pnpm i --frozen-lockfile
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Test & Build
run: |
pnpm build
pnpm test:code:gen
pnpm test
env:
CI: true