Skip to content

Commit

Permalink
chore!: Dropped support for Node 12 (#343)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Dropped Node 12 support
  • Loading branch information
edx-requirements-bot authored May 16, 2022
1 parent da788d7 commit 13e614a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ name: node_js CI
on:
push:
branches:
- master
- master
pull_request:
branches:
- "**"
- '**'

jobs:
tests:
runs-on: ubuntu-20.04
strategy:
matrix:
node: [ 12, 14, 16 ]
node: [16]

steps:
- name: Checkout
Expand Down
46 changes: 23 additions & 23 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,38 @@ name: Release CI
on:
push:
branches:
- 'master'
- master

jobs:
release:
name: Release
runs-on: ubuntu-20.04

steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 16

- name: Install dependencies
run: npm ci
- name: Install dependencies
run: npm ci

- name: Create Build
run: npm run build
- name: Create Build
run: npm run build

- name: Release Package
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
run: npx semantic-release
- name: Release Package
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
run: npx semantic-release

- name: Deploy to GH pages
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
run: npx deploy-storybook-ci
- name: Deploy to GH pages
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
run: npx deploy-storybook-ci

0 comments on commit 13e614a

Please sign in to comment.