Skip to content

Commit

Permalink
Merge pull request #2224 from alphagov/add-github-actions
Browse files Browse the repository at this point in the history
Adding github action to validate the plugin.
  • Loading branch information
nataliecarey authored Jun 12, 2023
2 parents 4d612f9 + 1a28e83 commit 13ec630
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Validate

on:
push:
branches:
- main
- support/*
pull_request:

jobs:
validate:
name: Validate
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- run: npx govuk-prototype-kit@snapshot validate-plugin
2 changes: 1 addition & 1 deletion govuk-prototype-kit.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"/lib/assets/javascripts/manage-prototype"
],
"nunjucksPaths": "/lib/nunjucks",
"nunjucksFilters": "/lib/filters/core-filters",
"nunjucksFilters": "/lib/filters/core-filters.js",
"scripts": [
"/lib/assets/javascripts/kit.js",
"/lib/assets/javascripts/auto-store-data.js"
Expand Down

0 comments on commit 13ec630

Please sign in to comment.