Skip to content

Commit e16c4c7

Browse files
Migrate to GitHub Actions (#6)
1 parent bbee329 commit e16c4c7

File tree

5 files changed

+37
-31
lines changed

5 files changed

+37
-31
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

.gitignore

Lines changed: 1 addition & 1 deletion
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
yarn.lock
77
/bower_components/

.travis.yml

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

README.md

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

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

67
Type definitions and low level interface implementations for the [CSS Object Model](https://www.w3.org/TR/cssom/).
78

89
## Installation
910

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

1415
## Documentation

package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,9 @@
55
"build": "eslint src && pulp build -- --censor-lib --strict"
66
},
77
"devDependencies": {
8-
"eslint": "^5.2.0",
9-
"pulp": "^12.3.0",
10-
"purescript-psa": "^0.7.2",
11-
"rimraf": "^2.6.2"
12-
},
13-
"dependencies": {
14-
"purescript": "^0.12.0"
8+
"eslint": "^7.15.0",
9+
"pulp": "^15.0.0",
10+
"purescript-psa": "^0.8.0",
11+
"rimraf": "^3.0.2"
1512
}
1613
}

0 commit comments

Comments
 (0)