Skip to content

resume updated

resume updated #135

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
build-server:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Cache node modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-node_modules-
- name: Install dependencies
run: npm install
- name: Run Linter
run: npm run lint
- name: Run Tests
run: npm test
- name: Build project
run: npm run build
- name: Upload production build artifacts
uses: actions/upload-artifact@v3
with:
name: nextjs-build
path: .next