Reproducible builds #145
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: Reproducible builds | |
on: | |
# Once a week on Monday at 00:30 UTC | |
schedule: | |
- cron: '30 0 * * 1' | |
# Or manually | |
workflow_dispatch: | |
# Or when developing this workflow | |
push: | |
paths: | |
- .github/workflows/reproducible.yaml | |
jobs: | |
run: | |
name: Verify releases | |
if: ${{ github.repository == 'qunitjs/qunit' }} # skip on forks, noisy cron | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
- run: node build/reproducible-builds.js |