add pr workflow
This commit is contained in:
parent
99a7c69c4f
commit
68dc7ac66c
1 changed files with 14 additions and 0 deletions
14
.forgejo/workflows/pr.yml
Normal file
14
.forgejo/workflows/pr.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
on: [pull_request]
|
||||
jobs:
|
||||
testbuild:
|
||||
runs-on: docker
|
||||
container.image: node:20-bookworm
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: npm install && npm run build
|
||||
name: NPM Install and Build
|
||||
- name: Upload output
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: outputsite
|
||||
path: .vercel/output/static
|
Loading…
Add table
Reference in a new issue