Skip to content

Commit 6127d74

Browse files
committed
Setup ci
1 parent 8453538 commit 6127d74

File tree

2 files changed

+37
-26
lines changed

2 files changed

+37
-26
lines changed

.github/workflows/ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
17+
- id: yarn-cache-dir-path
18+
run: echo "::set-output name=dir::$(yarn cache dir)"
19+
20+
- uses: actions/cache@v1
21+
with:
22+
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
23+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
24+
restore-keys: |
25+
${{ runner.os }}-yarn-
26+
27+
- uses: actions/cache@v1
28+
with:
29+
path: ~/haxe
30+
key: ${{ runner.os }}-haxe-${{ hashFiles('haxe_libraries/*') }}
31+
restore-keys: |
32+
${{ runner.os }}-haxe-
33+
34+
- uses: lix-pm/setup-lix@master
35+
- run: lix download
36+
- run: haxe demo.hxml
37+
- run: yarn && yarn build-storybook

.travis.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)