Skip to content

Document permissions and add example workflow / integration job #669

Document permissions and add example workflow / integration job

Document permissions and add example workflow / integration job #669

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup node 14
uses: actions/setup-node@v2
with:
node-version: 14.x
- run: npm install
- run: npm run build
- run: npm test
integration:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: ./
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"