Skip to content

Commit 0ac21a2

Browse files
authored
Merge pull request #127 from observablehq/actions
GitHub Actions
2 parents 49bf013 + 83aa1ae commit 0ac21a2

File tree

3 files changed

+28
-16
lines changed

3 files changed

+28
-16
lines changed

.circleci/config.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/nodejs.yml

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

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# @observablehq/stdlib
22

3+
[![Node CI](https://github.com/observablehq/stdlib/workflows/Node%20CI/badge.svg)](https://github.com/observablehq/stdlib/actions?workflow=Node+CI)
4+
35
The Observable standard library.
46

57
For examples, see https://observablehq.com/@observablehq/standard-library.

0 commit comments

Comments
 (0)