Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #7 from slamdata/ps-0.14
Browse files Browse the repository at this point in the history
Update for GH actions, PS 0.14
  • Loading branch information
garyb authored Apr 26, 2021
2 parents f000058 + f77cc59 commit 1807eda
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 31 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: purescript-contrib/setup-purescript@main

- uses: actions/setup-node@v1
with:
node-version: "12"

- name: Install dependencies
run: |
npm install -g bower
npm install
bower install --production
- name: Build source
run: npm run-script build

- name: Run tests
run: |
bower install
npm run-script test --if-present
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
npm-debug.log
/.*
!/.gitignore
!/.travis.yml
!/.github
!/.eslintrc.json
/bower_components/
/node_modules/
Expand Down
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# purescript-clipboard

[![Latest release](http://img.shields.io/github/release/slamdata/purescript-clipboard.svg)](https://github.com/slamdata/purescript-clipboard/releases)
[![Build status](https://travis-ci.org/slamdata/purescript-clipboard.svg?branch=master)](https://travis-ci.org/slamdata/purescript-clipboard)
![Build Status](https://github.com/slamdata/purescript-clipboard/actions/workflows/ci.yml/badge.svg)

Basic PureScript bindings for the [clipboard.js](https://github.com/zenorocha/clipboard.js/) library.

Expand Down
12 changes: 6 additions & 6 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
],
"repository": {
"type": "git",
"url": "git://github.com/slamdata/purescript-clipboard.git"
"url": "https://github.com/slamdata/purescript-clipboard.git"
},
"ignore": [
"**/.*",
Expand All @@ -18,12 +18,12 @@
"package.json"
],
"dependencies": {
"purescript-prelude": "^4.1.1",
"purescript-web-dom": "^3.0.0",
"purescript-css": "^4.0.0"
"purescript-prelude": "^5.0.0",
"purescript-web-dom": "^5.0.0",
"purescript-css": "^5.0.1"
},
"devDependencies": {
"purescript-web-html": "^2.2.1",
"purescript-web-events": "^2.0.1"
"purescript-web-html": "^3.0.1",
"purescript-web-events": "^3.0.0"
}
}
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"build-example": "pulp browserify -I example/src --to example/example.js"
},
"dependencies": {
"clipboard": "^2.0.4",
"eslint": "^5.16.0",
"pulp": "^13.0.0",
"purescript": "^0.13.0",
"purescript-psa": "^0.7.3",
"rimraf": "^2.6.3"
"clipboard": "^2.0.8",
"eslint": "^7.25.0",
"pulp": "^15.0.0",
"purescript": "^0.14.1",
"purescript-psa": "^0.8.2",
"rimraf": "^3.0.2"
}
}

0 comments on commit 1807eda

Please sign in to comment.