Update GITHUB_TOKEN permissions #5111
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: Integrate | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "*" | |
merge_group: | |
types: [checks_requested] | |
concurrency: | |
group: integrate-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Build | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-2019] | |
node: [18, 20] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: yarn | |
- run: yarn install --immutable | |
- run: yarn dedupe --check | |
- run: yarn build --quiet | |
- run: yarn test | |
- run: yarn validate-structure | |
- run: yarn extract --quiet | |
- run: yarn knip |