Skip to content

Commit 08dbdfe

Browse files
authoredNov 25, 2020
Migrate to GitHub Actions for CI (#187)
1 parent bf70fb9 commit 08dbdfe

File tree

4 files changed

+34
-25
lines changed

4 files changed

+34
-25
lines changed
 

‎.github/workflows/ci.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on: push
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
11+
- uses: purescript-contrib/setup-purescript@main
12+
with:
13+
purescript: "0.14.0-rc3"
14+
psa: "0.8.0"
15+
16+
- uses: actions/setup-node@v1
17+
with:
18+
node-version: "12"
19+
20+
- name: Install dependencies
21+
run: |
22+
npm install -g bower
23+
npm install
24+
bower install --production
25+
26+
- name: Build source
27+
run: npm run-script build
28+
29+
- name: Run tests
30+
run: |
31+
bower install
32+
npm run-script test --if-present

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/.*
22
!/.gitignore
3+
!/.github
34
!/.eslintrc.json
45
!/.travis.yml
56
package-lock.json

‎.travis.yml

-24
This file was deleted.

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# purescript-arrays
22

33
[![Latest release](http://img.shields.io/github/release/purescript/purescript-arrays.svg)](https://github.com/purescript/purescript-arrays/releases)
4-
[![Build status](https://travis-ci.org/purescript/purescript-arrays.svg?branch=master)](https://travis-ci.org/purescript/purescript-arrays)
4+
[![Build status](https://github.com/purescript/purescript-arrays/workflows/CI/badge.svg?branch=master)](https://github.com/purescript/purescript-arrays/actions?query=workflow%3ACI+branch%3Amaster)
55

66
Utility functions for the `Array` type - JavaScript's native arrays.
77

0 commit comments

Comments
 (0)
Please sign in to comment.