Skip to content

Update node in CI

Update node in CI #23

Workflow file for this run

name: Fontend - Angular
on:
push:
branches: [ master ]
paths:
- .github/workflows/frontend.yml
- frontend/**
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: 'frontend'
steps:
- uses: actions/checkout@v3
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'npm'
cache-dependency-path: './frontend/package-lock.json'
- run: npm ci
- run: npm run build
- uses: actions/upload-artifact@v3
with:
name: frontend
path: frontend/dist/
if-no-files-found: error