Skip to content

Commit 7ff875b

Browse files
Switch to GitHub Actions and update installation instructions (#17)
1 parent fd0103e commit 7ff875b

File tree

4 files changed

+35
-24
lines changed

4 files changed

+35
-24
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+
psa: "0.8.0"
15+
16+
- uses: actions/setup-node@v1
17+
with:
18+
node-version: "12"
19+
20+
- name: Install dependencies
21+
run: |
22+
npm install -g bower
23+
npm install
24+
bower install --production
25+
26+
- name: Build
27+
run: npm run-script build
28+
29+
- name: Test
30+
run: |
31+
bower install
32+
npm run-script test --if-present

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/.*
2+
!/.github
23
!/.gitignore
34
!/.travis.yml
45
/bower_components/

.travis.yml

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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# purescript-semirings
22

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

66
Semiring instances and functions
77

88
## Installation
99

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

1414
## Documentation

0 commit comments

Comments
 (0)