Skip to content

1주차 과제 제출 #45

1주차 과제 제출

1주차 과제 제출 #45

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-22.04
timeout-minutes: 1
steps:
- uses: actions/checkout@v3
- name: Node.js setup
uses: actions/setup-node@v3
with:
node-version: 18.16.1
cache: 'npm'
- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('package-lock.json') }}
restore-keys: ${{ runner.os }}-${{ hashFiles('package-lock.json') }}
- name: Install dependecies
if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
run: npm ci
- run: npm test
- run: npm run lint