Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add github actions for ci #853

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build
on:
push:
branches:
- ethers-v5-beta
tags:
- v5.*
pull_request:
types: [opened, reopened, synchronize]
jobs:
test-node:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 13.x]
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: actions/checkout@v2
- run: npm ci
- run: npm run bootstrap
- run: npm run build
- run: npm run test-node
test-browser:
runs-on: ubuntu-latest
strategy:
matrix:
module: ['esm', 'umd']
steps:
- uses: actions/setup-node@v1
with:
node-version: 12.x
- uses: actions/checkout@v2
- run: npm ci
- run: npm run bootstrap
- run: npm run build
- run: npm run test-browser-${{ matrix.module }}
29 changes: 0 additions & 29 deletions .github/workflows/nodejs.yml

This file was deleted.

7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
The Ethers Project
==================

[![NPM Package][npm-badge]][npm-link]
[![Actions Status][actions-badge]][actions-link]

**EXPERIMENTAL**

This branch is the next release of ethers.js, which should
Expand Down Expand Up @@ -97,3 +100,7 @@ License

MIT License (including **all** dependencies).

[npm-badge]: https://img.shields.io/npm/v/ethers/next.svg
[npm-link]: https://www.npmjs.com/package/ethers/v/next
[actions-badge]: https://github.com/ethers-io/ethers.js/workflows/Build/badge.svg?branch=ethers-v5-beta
[actions-link]: https://github.com/ethers-io/ethers.js/actions