Skip to content

Commit

Permalink
Add github actions validation to Github Actions workflow (how meta)
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Apr 1, 2021
1 parent c4809e2 commit 0a86002
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Verify Github Action Builds
name: Validate Github Actions

on:
pull_request:
Expand All @@ -25,4 +25,8 @@ jobs:

# Rebuild all the actions on this branch and check for a diff. Fail if there is one,
# because that would be a sign that the PR author did not rebuild the Github Actions
- run: ./.github/scripts/verifyActions.sh
- name: Verify Javascript Action Builds
run: ./.github/scripts/verifyActions.sh

- name: Validate actions and workflows
run: npm run gh-actions-validate
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"detox-build": "detox build --configuration ios.sim.debug",
"detox-test": "detox test --configuration ios.sim.debug",
"gh-actions-build": "./.github/scripts/buildActions.sh",
"gh-actions-lint": "./.github/scripts/validateActionsAndWorkflows.sh",
"gh-actions-validate": "./.github/scripts/validateActionsAndWorkflows.sh",
"analyze-packages": "ANALYZE_BUNDLE=true webpack --config config/webpack/webpack.prod.js"
},
"dependencies": {
Expand Down

0 comments on commit 0a86002

Please sign in to comment.