Skip to content

feat: add build and publish in registry in relaese job #17

feat: add build and publish in registry in relaese job

feat: add build and publish in registry in relaese job #17

Workflow file for this run

name: Pull Request
on:
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies
run: npm install
- name: Lint
run: npm run lint
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies
run: npm install
- name: Execute tests
run: npm run test
commit_lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
with:
token: "${{ secrets.ACCESS_TOKEN }}"
fetch-depth: 0
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.11
- name: Install Commitizen
run: pip install -U commitizen
- name: Check commits
run: cz check --rev-range origin/main..HEAD