Fix export for "commonRequireFilesInCodeowners" #1348
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: danger-plugin-toolbox CI | |
on: | |
pull_request: | |
branches: ['**'] | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['18'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install deps | |
run: HUSKY=0 npm ci --quiet | |
- name: Install danger-plugin-toolbox (for Danger step) | |
run: npm install --no-save prod-danger-plugin-toolbox@npm:[email protected] | |
if: github.event_name == 'pull_request' && matrix['node-version'] == '18' | |
- name: Run linters | |
run: (set -o pipefail; npm run lint |& tee lint.log); | |
if: matrix['node-version'] == '18' | |
- name: Run tests | |
run: (set -o pipefail; npm run test:coverage |& tee test.log); | |
- name: Run Danger | |
run: npm run danger | |
if: github.event_name == 'pull_request' && matrix['node-version'] == '18' | |
env: | |
GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }} | |
#- name: SonarCloud Scan | |
# uses: sonarsource/sonarcloud-github-action@master | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
# if: matrix['node-version'] == '18' |