Skip to content

chore: add nvmrc file, bump pnpm version and add CI pipeline #1

chore: add nvmrc file, bump pnpm version and add CI pipeline

chore: add nvmrc file, bump pnpm version and add CI pipeline #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
env:
HUSKY: '0'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: '20.10.0'
cache: 'pnpm'
- name: log info
run: >
printf 'commit -> %s\nbranch -> %s\n' "$(git rev-parse --short HEAD)" "$(git branch --show-current)"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm run build