Skip to content

Commit

Permalink
feat: Added support for node v16 (#30)
Browse files Browse the repository at this point in the history
feat: Added support for node v16
  • Loading branch information
aht007 authored Mar 18, 2022
2 parents 6f268ac + 1a360cc commit 6eecb55
Show file tree
Hide file tree
Showing 4 changed files with 22,415 additions and 9,533 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "eslint-config-edx",
"extends": "@edx/eslint-config",
"rules": {
"import/no-extraneous-dependencies": [
"error",
Expand Down
41 changes: 22 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,37 @@ name: Node CI
on:
push:
branches:
- master
- master
pull_request:
branches:
- "**"
- '**'

jobs:
build:
tests:
runs-on: ubuntu-20.04
strategy:
matrix:
node: [12, 14, 16]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2

- name: Setup Nodejs
uses: actions/setup-node@v2
with:
node-version: 12
- name: Setup Nodejs
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}

- name: Install Gatsby
run: npm i -g gatsby
- name: Install Gatsby
run: npm i -g gatsby

- name: Install Dependencies
run: npm ci
- name: Install Dependencies
run: npm ci

- name: Lint
run: npm run lint
- name: Lint
run: npm run lint

- name: Test
run: npm run test
- name: Test
run: npm run test

- name: Run Code Coverage
uses: codecov/codecov-action@v2
- name: Run Code Coverage
uses: codecov/codecov-action@v2
Loading

0 comments on commit 6eecb55

Please sign in to comment.