23 lines
498 B
YAML
23 lines
498 B
YAML
name: CV build
|
|
on: [push]
|
|
|
|
jobs:
|
|
buid:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
- NODE_ENV: production
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v5
|
|
- name: get node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22.x
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- name: build artifact
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: test-artifact
|
|
path: dist/ # or path/to/artifact
|