Skip to content

chore(deps): update thollander/actions-comment-pull-request digest to bc14ce3 #115

chore(deps): update thollander/actions-comment-pull-request digest to bc14ce3

chore(deps): update thollander/actions-comment-pull-request digest to bc14ce3 #115

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: 20.12.2
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: 20.12.2
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: 20.12.2
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 }}