Skip to content

chore/doc: added code quality badge in readme.md #120

chore/doc: added code quality badge in readme.md

chore/doc: added code quality badge in readme.md #120

Workflow file for this run

name: CI
on:
pull_request:
push:
release:
types: [published]
env:
IMAGE_ID: ${{ github.repository }}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: |
npm i
npm run test
semantic-release:
if: github.ref == 'refs/heads/master'
name: Semantic Release
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
with:
extra_plugins: |
@semantic-release/changelog
@semantic-release/git
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}