Skip to content

chore(deps): lock file maintenance #119

chore(deps): lock file maintenance

chore(deps): lock file maintenance #119

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/[email protected]
- name: Setup node
uses: actions/[email protected]
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/[email protected]
- name: Setup node
uses: actions/[email protected]
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/[email protected]
- name: Setup node
uses: actions/[email protected]
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 }}