Skip to content

engine.io 쓰듯이 람다 웹소켓을 정의할수 있도록 #3

engine.io 쓰듯이 람다 웹소켓을 정의할수 있도록

engine.io 쓰듯이 람다 웹소켓을 정의할수 있도록 #3

Workflow file for this run

name: ci
on:
push:
branches: ["main"]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- uses: actions/setup-node@v3
with:
node-version: 20
- uses: pnpm/action-setup@v2
id: pnpm-install
with:
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: build
run: |
pnpm build
pnpm test
- name: lint
run: pnpm lint