Skip to content

chore(deps): replace aslafy-z/conventional-pr-title-action with amannn/action-semantic-pull-request #104

chore(deps): replace aslafy-z/conventional-pr-title-action with amannn/action-semantic-pull-request

chore(deps): replace aslafy-z/conventional-pr-title-action with amannn/action-semantic-pull-request #104

Workflow file for this run

name: Lint, Types and Deploy
on:
pull_request:
branches: "*"
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.3
- name: Setup node
uses: actions/setup-node@v4.0.2
with:
node-version: 18.12.1
cache: "npm"
- run: npm ci
- run: npm run lint
typecheck:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.3
- name: Setup node
uses: actions/setup-node@v4.0.2
with:
node-version: 18.12.1
cache: "npm"
- run: npm ci
- run: npm run typecheck
publish:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
needs: [lint, typecheck]
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.3
- name: Setup node
uses: actions/setup-node@v4.0.2
with:
node-version: 18.12.1
cache: "npm"
- run: npm ci
- run: npm run build
- run: npm run semantic-release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}