1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-11-17 23:39:03 +00:00
notes/.github/workflows/ci.yml

30 lines
485 B
YAML
Raw Normal View History

2021-01-17 11:30:31 +00:00
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:
2021-01-17 13:49:18 +00:00
node-version: '14'
2021-01-17 11:30:31 +00:00
2021-01-17 12:01:55 +00:00
- uses: egordm/gha-yarn-node-cache@v1
2021-01-17 11:30:31 +00:00
- run: yarn install
2021-01-17 12:35:36 +00:00
- run: npm run build
2021-01-17 11:30:31 +00:00
- name: Archive
uses: actions/upload-artifact@v2
with:
name: notes
2021-01-17 11:59:54 +00:00
path: public