Skip to content

Commit

Permalink
New release: v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Aveek-Saha committed Oct 9, 2020
1 parent 1417e8a commit 87bdf64
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 1,273 deletions.
30 changes: 21 additions & 9 deletions .github/workflows/npmpublish.yml → .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,35 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node.js Package
name: Publish release

on:
release:
types: [created]

jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v1
# with:
# node-version: 10
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12

- name: Install dependencies
run: npm install

- name: Run format check
run: npm run format-check

- name: Run linter
run: npm run lint

- name: Run tests
run: npm test

publish-npm:
# needs: build
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
Loading

0 comments on commit 87bdf64

Please sign in to comment.