awesome-docker/.github/workflows/pull_request.yml
Julien Bisconti 000d2ad22c
bump node to LTS permanently (#1136)
* Bump node to LTS permanently

* chore: also bump version of node in pull request workflow

---------

Co-authored-by: Julien Bisconti <julienb@spotify.com>
Co-authored-by: Manuel Schmid <dev@mash1t.de>
2024-07-13 16:34:42 +02:00

33 lines
888 B
Markdown

name: Pull Requests / Weekly QA
on:
pull_request:
branches:
- master
schedule:
- cron: '0 0 * * 6'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@e2f20e631ae6d7dd3b768f56a5d2af784dd54791
- uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
with:
node-version: lts/*
- uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
id: cache
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Dependencies
# if: steps.cache.outputs.cache-hit != 'true'
run: npm ci --ignore-scripts --no-audit --no-progress --prefer-offline
- run: npm run test-pr
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}