This repository has been archived by the owner on May 3, 2024. It is now read-only.
feat(logger): use a pretty logger in locale development with OTel enabled #1675
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@v3 | |
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 | |
- name: Danger | |
run: NODE_ENV=production npm run test:danger | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |