Skip to content

Commit

Permalink
ci: add semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
fengzilong committed Jul 25, 2021
1 parent d4352cf commit 3e233eb
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Semantic Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: lts/*
- run: npm ci
- env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# jsonlint

[![Node.js CI status](https://github.com/fengzilong/@biu/jsonlint/workflows/Node.js%20CI/badge.svg)](https://github.com/fengzilong/@biu/jsonlint/actions)
[![Node.js CI status](https://github.com/fengzilong/@biu/jsonlint/workflows/Node.js%20CI/badge.svg)](https://github.com/fengzilong/@biu/jsonlint/actions) [![npm](https://img.shields.io/npm/v/@biu/jsonlint.svg)](https://www.npmjs.com/package/@biu/jsonlint)

lint your json, report all errors at once

Expand Down

0 comments on commit 3e233eb

Please sign in to comment.