Add test artifact
This commit is contained in:
parent
86aa2065e4
commit
8606982f88
1 changed files with 9 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
||||||
name: Build
|
name: Build
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -14,3 +16,10 @@ jobs:
|
||||||
run: npm run check
|
run: npm run check
|
||||||
- name: 🔨 Build project
|
- name: 🔨 Build project
|
||||||
run: npm run build
|
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