[deps]: Update @types/node to v20.10.4 #61
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: Build API/client files | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [ "main" ] | |
paths-ignore: | |
- ".github/workflows/**" | |
push: | |
branches: [ "main" ] | |
paths-ignore: | |
- ".github/workflows/**" | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Set up Node | |
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 | |
with: | |
cache: "npm" | |
cache-dependency-path: "**/package-lock.json" | |
node-version: "18" | |
- name: Clean install dependencies and build | |
run: | | |
npm ci | |
npm run build | |
- name: Upload build as artifact | |
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 | |
if: always() | |
with: | |
name: build-files | |
path: | | |
./api/build | |
./client/build |