Skip to content

Commit

Permalink
Add node workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierstoval committed Mar 5, 2020
1 parent a0f41ec commit 6ab280d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Node.js

on: [push]

jobs:
build:
name: Compotes

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '10'

- run: npm install

- name: '[Run] 🚀 Build assets for dev'
run: npm run dev

- name: 'Clean build'
run: rm -rf public/build

- name: '[Run] 🚀 Build assets for prod'
run: npm run build

0 comments on commit 6ab280d

Please sign in to comment.