Skip to content

Commit

Permalink
chore: a github action to test frontend reproducibility (#663)
Browse files Browse the repository at this point in the history
Signed-off-by: David Dal Busco <[email protected]>
  • Loading branch information
peterpeterparker authored Jul 20, 2024
1 parent f7891ef commit d1f0b10
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Prepare

description: Checkout and install dependencies

runs:
using: composite
steps:
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: Install latest npm
shell: bash
run: npm install -g npm@latest
- name: Install dependencies
shell: bash
run: npm ci
File renamed without changes.
18 changes: 18 additions & 0 deletions .github/workflows/frontend-reproducibility.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Frontend Reproducibility

on:
workflow_dispatch:

jobs:
frontend-reproducibility:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Prepare
uses: ./.github/actions/prepare

- name: Run reproducibility test
run: bash .github/scripts/test-frontend-reproducibility

0 comments on commit d1f0b10

Please sign in to comment.