Skip to content

CI-Node

CI-Node #3

Workflow file for this run

name: CI-Node
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v6.0.1
- name: setup NodeJS
uses: actions/setup-node@v6.1.0
with:
node-version: '20'
cache: 'npm'
- name: Install Deps
run: npm ci
- name: run Tests
run: echo "npm test"
- name: Build Project
run: echo "npm run build"
- name: upload dist as artifact
uses: actions/upload-artifact@v4
with:
name: node-build-${{ github.run_number }}
path: ./*