Skip to content

Commit 66261b7

Browse files
Migrate to GitHub Actions (#7)
* Migrate to GitHub Actions and update installation instructions. * Update README.md
1 parent 62c2b74 commit 66261b7

File tree

3 files changed

+35
-25
lines changed

3 files changed

+35
-25
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
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

.travis.yml

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

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
# purescript-web-dom-parser
22

3-
[`DOMParser`](https://developer.mozilla.org/docs/Web/API/DOMParser) wrapper for integration with PureScript DOM. This is a fork of [purescript-dom-parser](https://github.com/toastal/purescript-dom-parser), using `Effect`.
4-
5-
63
[![Latest release](http://img.shields.io/github/release/purescript-web/purescript-web-dom-parser.svg)](https://github.com/purescript-web/purescript-web-dom-parser/releases)
4+
[![Build status](https://github.com/purescript/purescript-web-dom-parser/workflows/CI/badge.svg?branch=master)](https://github.com/purescript/purescript-web-dom-parser/actions?query=workflow%3ACI+branch%3Amaster)
5+
[![Pursuit](https://pursuit.purescript.org/packages/purescript-web-dom-parser/badge)](https://pursuit.purescript.org/packages/purescript-web-dom-parser)
76

7+
[`DOMParser`](https://developer.mozilla.org/docs/Web/API/DOMParser) wrapper for integration with PureScript DOM. This is a fork of [purescript-dom-parser](https://github.com/toastal/purescript-dom-parser), using `Effect`.
88

99
## Installation
1010

1111
```bash
12-
bower install purescript-web-dom-parser
12+
spago install web-dom-parser
1313
```
1414

15+
## Documentation
16+
1517
Module documentation is [published on Pursuit](https://pursuit.purescript.org/packages/purescript-web-dom-parser).

0 commit comments

Comments
 (0)