-
-
Notifications
You must be signed in to change notification settings - Fork 21
39 lines (39 loc) · 844 Bytes
/
node.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Node CI
on:
push:
branches:
- master
pull_request:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: erlef/setup-beam@v1
with:
otp-version: 22.2
elixir-version: 1.9.4
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y git build-essential
- name: Setup elixir
working-directory: apps/grapevine
run: |
mix deps.get
- name: Setup node
working-directory: apps/grapevine
run: |
npm install -g yarn
cd assets
yarn install
- name: Verify application
working-directory: apps/grapevine
run: |
cd assets
yarn test