Add test artifact
This commit is contained in:
parent
65e3f6458d
commit
92b6199b66
1 changed files with 9 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
name: Build
|
||||
on: [push]
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -14,3 +16,10 @@ jobs:
|
|||
run: npm run check
|
||||
- name: 🔨 Build project
|
||||
run: npm run build
|
||||
- name: 📦 Zip project
|
||||
run: zip -r build.zip build
|
||||
- name: ☁️ Upload artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: site
|
||||
path: build.zip
|
||||
|
|
|
|||
Loading…
Reference in a new issue