This repository has been archived by the owner on May 3, 2024. It is now read-only.
DX enhancements - quieter logging on startup and polling, clickable URL in console #2023
Workflow file for this run
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: "[on PR] DangerJS" | |
on: pull_request | |
jobs: | |
dangerJS: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: npm install | |
run: npm ci | |
env: | |
NODE_ENV: development | |
HUSKY: 0 | |
- name: Danger | |
run: npm run test:danger | |
env: | |
NODE_ENV: production | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |