Skip to content

0.15 updates #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up PureScript toolchain
uses: purescript-contrib/setup-purescript@main
with:
purescript: "0.15.0"

- name: Cache PureScript dependencies
uses: actions/cache@v2
with:
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
path: |
.spago
output

- name: Set up Node toolchain
uses: actions/setup-node@v2
with:
node-version: "14.x"

- name: Cache NPM dependencies
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- name: Install NPM dependencies
run: npm install

- name: Install spago deps
run: npm run deps

- name: Build the project
run: npm run build
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
/.purs*
/.psa*
/.vscode/
/.spago/
/output-pulp/
32 changes: 20 additions & 12 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,32 @@
{
"name": "purescript-react-dnd-basic",
"license": [
"Apache-2.0"
],
"repository": {
"type": "git",
"url": "https://github.com/lumihq/purescript-react-dnd-basic"
},
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"output"
],
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/lumihq/purescript-react-dnd-basic.git"
},
"dependencies": {
"purescript-prelude": "^4.1.1",
"purescript-nullable": "^4.1.1",
"purescript-promises": "^3.1.1",
"purescript-react-basic-dom": "lumihq/purescript-react-basic-dom#^3.3.0",
"purescript-react-basic-hooks": "^6.0.0"
"purescript-console": "^v6.0.0",
"purescript-effect": "^v4.0.0",
"purescript-maybe": "^v6.0.0",
"purescript-nullable": "^v6.0.0",
"purescript-prelude": "^v6.0.0",
"purescript-react-basic-hooks": "^v8.0.0",
"purescript-web-dom": "^v6.0.0"
},
"devDependencies": {
"purescript-psci-support": "^4.0.0"
"resolutions": {
"purescript-prelude": "^6.0.0",
"purescript-newtype": "^5.0.0",
"purescript-control": "^6.0.0",
"purescript-unsafe-coerce": "^6.0.0",
"purescript-safe-coerce": "^2.0.0"
}
}
Loading