[proposal] Add auth
as a capability with support for OAuth 2.0 and secrets.
#196
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 20 | |
cache: npm | |
- run: npm ci | |
- run: npm run validate:schema | |
- run: npm run generate:json | |
- name: Verify that `npm run generate:json` did not change outputs (if it did, please re-run it and re-commit!) | |
run: git diff --exit-code |