Skip to content

Commit b77ba91

Browse files
committed
Update for GH actions, PS 0.14
1 parent 1600df2 commit b77ba91

File tree

5 files changed

+38
-30
lines changed

5 files changed

+38
-30
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
- uses: purescript-contrib/setup-purescript@main
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/.*
22
!/.gitignore
3-
!/.travis.yml
3+
!/.github
44
/bower_components/
55
/node_modules/
66
/output/

.travis.yml

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

bower.json

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
{
22
"name": "purescript-halogen-css",
3-
"homepage": "https://github.com/slamdata/purescript-halogen-css",
4-
"description": "An adapter between the `purescript-halogen` and `purescript-css` libraries.",
5-
"keywords": [
6-
"purescript",
7-
"halogen",
8-
"css"
9-
],
103
"license": "Apache-2.0",
114
"repository": {
125
"type": "git",
13-
"url": "git://github.com/slamdata/purescript-halogen-css.git"
6+
"url": "https://github.com/slamdata/purescript-halogen-css.git"
147
},
158
"ignore": [
169
"**/.*",
@@ -22,7 +15,7 @@
2215
"package.json"
2316
],
2417
"dependencies": {
25-
"purescript-css": "^4.0.0",
26-
"purescript-halogen": "^4.0.0"
18+
"purescript-css": "^5.0.1",
19+
"purescript-halogen": "^6.1.1"
2720
}
2821
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"build": "pulp build -- --censor-lib --strict"
77
},
88
"devDependencies": {
9-
"pulp": "^12.2.0",
10-
"purescript": "0.12.0",
11-
"purescript-psa": "^0.6.0"
9+
"pulp": "^15.0.0",
10+
"purescript": "0.14.1",
11+
"purescript-psa": "^0.8.2"
1212
}
1313
}

0 commit comments

Comments
 (0)