mirror of
https://github.com/veggiemonk/awesome-docker.git
synced 2025-04-18 15:08:21 +02:00
* fix: update actions to latest available version they're immutable tags anyways, not really a need to use sha's here * fix: prefix v on version tags
32 lines
786 B
Markdown
32 lines
786 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@v4.2.2
|
|
- uses: actions/setup-node@v4.3.0
|
|
with:
|
|
node-version: lts/*
|
|
|
|
- uses: actions/cache@v4.2.3
|
|
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 }}
|