Skip to content

Commit fcf9e70

Browse files
authored
Merge pull request #234 from purescript/github-actions
Migrate to GitHub Actions
2 parents e7ce06a + b245fe7 commit fcf9e70

File tree

4 files changed

+34
-27
lines changed

4 files changed

+34
-27
lines changed

.github/workflows/ci.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on: push
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
11+
- uses: purescript-contrib/setup-purescript@main
12+
with:
13+
purescript: "0.14.0-rc3"
14+
15+
- uses: actions/setup-node@v1
16+
with:
17+
node-version: "12"
18+
19+
- name: Install dependencies
20+
run: |
21+
npm install -g bower
22+
npm install
23+
bower install --production
24+
25+
- name: Build source
26+
run: npm run-script build
27+
28+
- name: Run tests
29+
run: |
30+
bower install
31+
npm run-script test --if-present

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/.*
22
!/.gitignore
33
!/.eslintrc.json
4-
!/.travis.yml
4+
!/.github/
55
/bower_components/
66
/node_modules/
77
/output/

.travis.yml

-24
This file was deleted.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# purescript-prelude
22

33
[![Latest release](http://img.shields.io/github/release/purescript/purescript-prelude.svg)](https://github.com/purescript/purescript-prelude/releases)
4-
[![Build Status](https://travis-ci.org/purescript/purescript-prelude.svg?branch=master)](https://travis-ci.org/purescript/purescript-prelude)
4+
[![Build status](https://github.com/purescript/purescript-prelude/workflows/CI/badge.svg?branch=master)](https://github.com/purescript/purescript-prelude/actions?query=workflow%3ACI+branch%3Amaster)
55

66
The PureScript prelude.
77

88
## Installation
99

1010
```
11-
bower install purescript-prelude
11+
spago install prelude
1212
```
1313

1414
## Documentation

0 commit comments

Comments
 (0)