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 - run: mkdir -p path/to/artifact - name: test artifact - run: echo hello > art/world.txt - uses: https://github.com/christopherHX/gitea-upload-artifact@v4 with: name: my-artifact path: art/world.txt #uses: https://github.com/christopherHX/gitea-upload-artifact@v4 #with: # name: test-artifact # path: dist/ # or path/to/artifact