Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Refactor/upgrading to node 20 11 0 #2026

Refactor/upgrading to node 20 11 0

Refactor/upgrading to node 20 11 0 #2026

Workflow file for this run

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 }}