This repository has been archived by the owner on May 3, 2024. It is now read-only.
fix(server): devCDN should not crash when bundles are not present #1902
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: NODE_ENV=development npm ci | |
env: | |
HUSKY: 0 | |
- name: Danger | |
run: NODE_ENV=production npm run test:danger | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |