Skip to content

Commit

Permalink
Create backendTest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
choyoungwoo9 authored Feb 1, 2024
1 parent 1c18e8e commit c47be2d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/backendTest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Github Actions BackEnd Test

run-name: ${{ github.actor }} is learning GitHub Actions

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Install dependencies
run: npm install
working-directory: ./backend

- name: Run tests
run: npm test
working-directory: ./backend


0 comments on commit c47be2d

Please sign in to comment.