diff --git a/.github/workflows/danger-zone.yml b/.github/workflows/danger-zone.yml index e0cde98fd6..622bfbf329 100644 --- a/.github/workflows/danger-zone.yml +++ b/.github/workflows/danger-zone.yml @@ -9,9 +9,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Danger - uses: danger/danger-js@10.7.1 + - uses: actions/setup-node@v2 + with: + node-version: '14' + cache: 'npm' + - run: npm install -g npm@7 + - run: npm ci + - run: npx danger ci env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # https://github.com/danger/danger-js/issues/557#issuecomment-664851950 - DANGER_DISABLE_TRANSPILATION: true