Skip to content

fix(build): typescript를 dependencies로 이전 #203

fix(build): typescript를 dependencies로 이전

fix(build): typescript를 dependencies로 이전 #203

Workflow file for this run

name: Test
on:
pull_request:
jobs:
test:
name: Test PR
runs-on: ubuntu-latest
environment: development
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false
- name: Get pnpm store directory
shell: bash
run: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-pnpm-store-
- name: install dependencies
run: |
pnpm install --frozen-lockfile
pnpm --filter='@jiphyeonjeon-42/contracts' build
- if: always()
name: check types (backend)
working-directory: backend
run: pnpm check
- if: always()
name: check types (contracts)
working-directory: contracts
run: pnpm check