From c13110945d5762047d09e4243da0e08cb30b7110 Mon Sep 17 00:00:00 2001 From: justinwoo Date: Sun, 18 Aug 2019 17:10:54 +0300 Subject: [PATCH 1/3] remove azure pipelines --- azure-pipelines.yml | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index d6efa35..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,26 +0,0 @@ -# Node.js -# Build a general Node.js project with npm. -# Add steps that analyze code, save build artifacts, deploy, and more: -# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript - -pool: - vmImage: 'Ubuntu 16.04' - -steps: -- task: NodeTool@0 - inputs: - versionSpec: '10.x' - displayName: 'Install Node.js' - -- script: | - npm set prefix ~/.npm - npm install -g purescript purescript-psa pulp bower - npm install - bower install - displayName: 'install deps' - -- script: | - export PATH=~/.npm/bin:$PATH - pulp build -- --stash --censor-lib - pulp test - displayName: 'build' From 4fc7d660494bbc9fd42f6e92ee448595bbce8bc5 Mon Sep 17 00:00:00 2001 From: justinwoo Date: Sun, 18 Aug 2019 17:11:13 +0300 Subject: [PATCH 2/3] add github actions workflow --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6bf9c43 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: Node CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@master + - name: Use Node.js 10.x + uses: actions/setup-node@v1 + with: + version: 10.x + - name: Install and test + run: | + TAG=$(wget -q -O - https://github.com/purescript/purescript/releases/latest --server-response --max-redirect 0 2>&1 | sed -n -e 's/.*Location:.*tag\///p') + wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz + tar -xvf $HOME/purescript.tar.gz -C $HOME/ + chmod a+x $HOME/purescript + + npm install -g bower pulp + npm install + bower install + + PATH=$HOME/purescript:$PATH + pulp test From 0d16c91dd93484c5bdcf5c20347e9564609b3ee9 Mon Sep 17 00:00:00 2001 From: justinwoo Date: Sun, 18 Aug 2019 17:15:45 +0300 Subject: [PATCH 3/3] update bower deps --- bower.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bower.json b/bower.json index 864112c..7dfffff 100644 --- a/bower.json +++ b/bower.json @@ -12,16 +12,16 @@ "output" ], "dependencies": { - "purescript-prelude": "^4.0.1", - "purescript-record": "^1.0.0", + "purescript-prelude": "^4.1.1", + "purescript-record": "^2.0.1", "purescript-functions": "^4.0.0", - "purescript-node-http": "^5.0.0", - "purescript-aff-promise": "^2.0.0", - "purescript-node-buffer": "^5.0.0" + "purescript-node-http": "^5.0.2", + "purescript-aff-promise": "^2.1.0", + "purescript-node-buffer": "^6.0.0" }, "devDependencies": { - "purescript-milkis": "^6.0.1", - "purescript-test-unit": "^14.0.0", - "purescript-node-process": "^6.0.0" + "purescript-milkis": "^7.2.1", + "purescript-test-unit": "^15.0.0", + "purescript-node-process": "^7.0.0" } }