Skip to content

MM-61893 Replace usage of hasOwnProperty with Object.hasOwn (#29428) #14

MM-61893 Replace usage of hasOwnProperty with Object.hasOwn (#29428)

MM-61893 Replace usage of hasOwnProperty with Object.hasOwn (#29428) #14

Workflow file for this run

name: API
on:
push:
branches:
- master
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./api
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version-file: .nvmrc
cache: "npm"
cache-dependency-path: api/package-lock.json
- name: Run build
run: make build
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: mattermost-api-reference
path: api/v4/html