Update ownership.yaml #173
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: Example Dependency Submission | |
on: | |
push | |
permissions: | |
contents: write | |
jobs: | |
example-submission: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout Repository' | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
# As of 2023-02-22, the ubuntu-latest image uses npm v8.3.1. This version | |
# has a bug that prevents loading dependency-submission-toolkit in the | |
# 'example/' project. npm v8.4.1 (same version in Codespace created on | |
# same date) is known to work. Not pinned to latest to avoid | |
# reproducibility issues. | |
- run: npm install [email protected] -g | |
- name: Install NPM dependencies | |
run: npm ci | |
- name: Run all NPM build/test actions | |
run: npm -w:example rebuild && npm run all -w:example | |
- name: Run dependency submission | |
uses: ./ | |
id: example | |
with: | |
npm-package-directory: ./ |