mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-14 17:35:17 +01:00
33 lines
567 B
YAML
33 lines
567 B
YAML
|
name: "Assets"
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- master
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
|
||
|
jobs:
|
||
|
js:
|
||
|
name: "Building assets"
|
||
|
runs-on: "ubuntu-20.04"
|
||
|
|
||
|
steps:
|
||
|
- name: "Checkout"
|
||
|
uses: "actions/checkout@v2"
|
||
|
|
||
|
- name: "Install Node"
|
||
|
uses: actions/setup-node@v1
|
||
|
with:
|
||
|
node-version: "12"
|
||
|
|
||
|
- name: "Install dependencies with Yarn"
|
||
|
run: "yarn install"
|
||
|
|
||
|
- name: "Build dev assets"
|
||
|
run: "yarn run build:dev"
|
||
|
|
||
|
- name: "Build prod assets"
|
||
|
run: "yarn run build:prod"
|