Skip to content

Merge pull request #2 from H1ghBre4k3r/dependabot/npm_and_yarn/typesc… #23

Merge pull request #2 from H1ghBre4k3r/dependabot/npm_and_yarn/typesc…

Merge pull request #2 from H1ghBre4k3r/dependabot/npm_and_yarn/typesc… #23

Workflow file for this run

name: Build
on: [push]
jobs:
build:
strategy:
matrix:
node-version: [20.x]
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Build (typecheck) the project
run: npm run build
- name: Lint the project
run: npm run lint
image:
needs: build
uses: ./.github/workflows/image.yml
secrets: inherit
deploy:
if: ${{ github.ref_name == 'main' }}
needs: image
uses: ./.github/workflows/deploy.yml
secrets: inherit