Skip to content

Commit

Permalink
Merge pull request #64 from justinwoo/actions
Browse files Browse the repository at this point in the history
Add workflow/nodejs.yml
  • Loading branch information
justinwoo committed Aug 13, 2019
2 parents d6c4163 + 8fc0546 commit c5e2b7b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 16 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -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
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

0 comments on commit c5e2b7b

Please sign in to comment.