chore(deps): update dawidd6/action-download-artifact digest to 8a9be73 #105
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |