Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test generated plugins on the pipeline #28

Merged
merged 3 commits into from
Aug 4, 2022
Merged

Conversation

academo
Copy link
Member

@academo academo commented Jul 21, 2022

Closes #27
Closes #13

  • Adds missing NPM registry and node version setup code to the worklow
  • Adds steps to generate, build, test and lint all types of apps

@academo academo added the enhancement New feature or request label Jul 21, 2022
@academo academo self-assigned this Jul 21, 2022
@academo academo changed the title Test generated apps on the pipeline Test generated plugins on the pipeline Jul 21, 2022
@@ -10,6 +10,11 @@ jobs:
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Setup .npmrc file for NPM registry
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missed this bit in the previous PR.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious why we need to do this here for test, lint etc. Later when publishing it looks like we do this here. 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not really necessary for the ubuntu-latest image in github but then we are running the nodejs version that github provides on their runners. This guarantees we run the nodejs version we specify. Also when I was testing with act (local github workflows runner) if I didn't use this it would not run.

@academo academo merged commit 80ee472 into main Aug 4, 2022
@leventebalogh leventebalogh deleted the generated-code-build-test branch August 4, 2022 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

test generated plugins in PRs Run Prettier (+ESLint) on generated files
2 participants