Skip to content

Commit 4eb2c87

Browse files
committedMar 12, 2022
Add github workflow
1 parent cfc474e commit 4eb2c87

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed
 

‎.github/workflows/tests.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Node CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
node-version: [12.x, 14.x, 16.x]
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: ${{ matrix.node-version }}
20+
- name: npm install, build, and test
21+
run: |
22+
npm test
23+
env:
24+
CI: true

‎README.md

-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
# Promise Polyfill
22

3-
[![travis][travis-image]][travis-url]
4-
5-
[travis-image]: https://img.shields.io/travis/taylorhakes/promise-polyfill.svg?style=flat
6-
[travis-url]: https://travis-ci.org/taylorhakes/promise-polyfill
7-
83
Lightweight ES6 Promise polyfill for the browser and node. Adheres closely to
94
the spec. It is a perfect polyfill IE or any other browser that does
105
not support native promises.

0 commit comments

Comments
 (0)
Please sign in to comment.