Skip to content

msp/operationdocs: write to Notion instead of Markdown #120811

msp/operationdocs: write to Notion instead of Markdown

msp/operationdocs: write to Notion instead of Markdown #120811

Workflow file for this run

name: Licenses Check
on: [pull_request]
jobs:
check:
runs-on: ubuntu-latest
steps:
# set up correct version of node
- name: Setup Node
id: node-setup
run: echo "NODE_VERSION=20.8.1" >> ${GITHUB_OUTPUT}
- uses: actions/setup-node@v2
with: { node-version: "${{ steps.node-setup.outputs.NODE_VERSION }}" }
- uses: actions/checkout@v3
- uses: pnpm/action-setup@d882d12c64e032187b2edb46d3a0d003b7a43598 # SECURITY: pin third-party action hashes
id: pnpm-install
with:
version: 8.9.2
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- uses: ruby/setup-ruby@d4526a55538b775af234ba4af27118ed6f8f6677 # SECURITY: pin third-party action hashes
with:
ruby-version: "3.2.2" # Not needed with a .ruby-version file - uses: actions/setup-ruby@v1
- uses: actions/setup-go@v2
with: { go-version: "1.22" }
- name: Install license_finder
run: gem install license_finder:7.1.0 # sync with licenses-update.yml
- name: Check dependencies
run: LICENSE_CHECK=true ./dev/licenses.sh