Skip to content

Commit eaa5a11

Browse files
Migrate to GitHub Actions (#41)
* Migrate to GitHub Actions and update installation instructions.
1 parent 942a412 commit eaa5a11

File tree

4 files changed

+33
-24
lines changed

4 files changed

+33
-24
lines changed

.github/workflows/ci.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
13+
- uses: actions/setup-node@v1
14+
with:
15+
node-version: "10"
16+
17+
- name: Install dependencies
18+
run: |
19+
npm install -g bower
20+
npm install
21+
bower install --production
22+
23+
- name: Build source
24+
run: npm run-script build
25+
26+
- name: Run tests
27+
run: |
28+
bower install
29+
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
package-lock.json
66
/bower_components/
77
/node_modules/

.travis.yml

-21
This file was deleted.

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# purescript-web-html
22

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

67
Type definitions and low level interface implementations for the [WHATWG HTML Standard](https://html.spec.whatwg.org).
78

89
## Installation
910

1011
```
11-
bower install purescript-web-html
12+
spago install web-html
1213
```
1314

1415
## Documentation

0 commit comments

Comments
 (0)