Skip to content

Commit

Permalink
Add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Dec 13, 2023
1 parent 32104ea commit f3e6b25
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: test

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci
- name: Test
run: npm test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# GOV.UK Prototype Wizard
# GOV.UK Prototype Wizard · [![test](https://github.com/x-govuk/govuk-prototype-wizard/actions/workflows/test.yml/badge.svg)](https://github.com/x-govuk/govuk-prototype-wizard/actions/workflows/test.yml)

Build and iterate ‘one thing per page’ user journeys when prototyping GOV.UK services.

Expand Down

0 comments on commit f3e6b25

Please sign in to comment.