mirror of
https://github.com/codex-storage/nim-ethers.git
synced 2025-01-11 03:46:42 +00:00
94f5f35a10
Only support stable Nim versions 1.2.x and 1.6.x.
32 lines
662 B
YAML
32 lines
662 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
nim: [1.2.16, stable]
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Install Nim
|
|
uses: iffy/install-nim@v3
|
|
with:
|
|
version: ${{ matrix.nim }}
|
|
- name: Install NodeJS
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: '14'
|
|
- name: Install test node
|
|
working-directory: testnode
|
|
run: npm install
|
|
- name: Run test node
|
|
working-directory: testnode
|
|
run: npm start &
|
|
- name: Build
|
|
run: nimble install -y
|
|
- name: Test
|
|
run: nimble test -y
|