f45685208f
Co-authored-by: Parker Brown <17183625+parkerbxyz@users.noreply.github.com> Co-authored-by: Gregor Martynus <gr2m@users.noreply.github.com>
26 lines
689 B
YAML
26 lines
689 B
YAML
on: [push]
|
|
|
|
jobs:
|
|
demo:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: '16.16'
|
|
cache: 'npm'
|
|
- run: npm ci
|
|
- run: npm run build
|
|
- uses: ./ # Uses the action in the root directory
|
|
id: demo
|
|
with:
|
|
app_id: ${{ secrets.APP_ID }}
|
|
private_key: ${{ secrets.PRIVATE_KEY }}
|
|
- uses: octokit/request-action@v2.x
|
|
id: get-repository
|
|
env:
|
|
GITHUB_TOKEN: ${{ steps.demo.outputs.token }}
|
|
with:
|
|
route: GET /installation/repositories
|
|
- run: echo '${{ steps.get-repository.outputs.data }}'
|