mirror of
https://github.com/RealOrangeOne/notes.git
synced 2024-12-22 02:55:58 +00:00
Add GitHub CI config
This commit is contained in:
parent
5f6546f775
commit
8cac2f7abf
1 changed files with 27 additions and 0 deletions
27
.github/workflows/ci.yml
vendored
Normal file
27
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "*"
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '12'
|
||||
|
||||
- run: yarn install
|
||||
- run: npm run release
|
||||
|
||||
- name: Archive
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: notes
|
||||
path: dist
|
Loading…
Reference in a new issue