Skip to content

ci: remove --debug from semantic release #3

ci: remove --debug from semantic release

ci: remove --debug from semantic release #3

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
main:
name: Default
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: NPM install
uses: bahmutov/npm-install@v1
with:
useLockFile: false
- name: Lint
run: npm run lint
- name: Build
run: npm run build
- name: Test
run: npm run test
- name: Semantic release
if: github.ref == 'refs/heads/main'
run: npx --no-install semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}