Skip to content

GitAction 스크립트를 작성하라 #1

GitAction 스크립트를 작성하라

GitAction 스크립트를 작성하라 #1

Workflow file for this run

name: server
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./server
steps:
- uses: actions/checkout@v3
- name: Setup node.js
uses: actions/setup-node@v3
with:
node-version: 18.12.0
cache: "npm"
cache-dependency-path: server/package-lock.json
- name: install
run: npm install
- name: test
run: npm test
- name: build
run: npm run build