Skip to content

Commit c20c829

Browse files
committed
Switch to github actions
1 parent 1107e19 commit c20c829

File tree

3 files changed

+40
-18
lines changed

3 files changed

+40
-18
lines changed

.github/workflows/CI.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI
2+
3+
on: push
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v2
12+
with:
13+
node-version: '15'
14+
cache: 'npm'
15+
16+
- uses: purescript-contrib/setup-purescript@main
17+
18+
- name: Cache PureScript dependencies
19+
uses: actions/cache@v2
20+
# This cache uses the .dhall files to know when it should reinstall
21+
# and rebuild packages. It caches both the installed packages from
22+
# the `.spago` directory and compilation artifacts from the `output`
23+
# directory. When restored the compiler will rebuild any files that
24+
# have changed. If you do not want to cache compiled output, remove
25+
# the `output` path.
26+
with:
27+
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
28+
path: |
29+
.spago
30+
output
31+
- run: npm install
32+
- run: spago build
33+
- run: spago test --no-install
34+
- run: spago -x examples.dhall build
35+
- run: npm run build-examples
36+
- run: cd benchmarks/js-framework-benchmark/keyed
37+
- run: npm run build
38+
- run: cd ../non-keyed
39+
- run: npm run build

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Flame [![Build Status](https://travis-ci.com/easafe/purescript-flame.svg?branch=master)](https://travis-ci.com/easafe/purescript-flame)
1+
## Flame ![build status](https://github.com/easafe/purescript-flame/actions/workflows/CI.yml/badge.svg)
22

33
Flame is a fast & simple framework inspired by the Elm architecture for building web applications in PureScript
44

0 commit comments

Comments
 (0)