Add GH actions (#37)

* Add GH actions

* Install nightly, test Rust seperately

* Nightly for tests

* Pin nightly version... maybe this works?

* Revert attempted version fix

* Re-try nightly pinning...

* Try without...

* Revert stable experiment

* Run action on PR

* Action only on PR

* Rename push.yml to pr.yml

* Bump deps, update actions

* Bump backtrace (maybe this helps?)

* Don't test rust alongside wasm (split)
This commit is contained in:
Jaco Greeff
2019-10-08 14:00:59 +02:00
committed by GitHub
parent 2c02b44c0d
commit 0e50f267d1
8 changed files with 584 additions and 349 deletions
+24
View File
@@ -0,0 +1,24 @@
name: Master
on:
push:
branches:
- master
jobs:
merge:
name: Merge
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: build
run: |
rustup toolchain install nightly
yarn install --frozen-lockfile
yarn build