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

CI/CD - Add github actions #75

Closed
2 tasks done
elycruz opened this issue Jul 20, 2021 · 0 comments · Fixed by #77
Closed
2 tasks done

CI/CD - Add github actions #75

elycruz opened this issue Jul 20, 2021 · 0 comments · Fixed by #77
Assignees

Comments

@elycruz
Copy link
Owner

elycruz commented Jul 20, 2021

Automate test and build tasks for the project via github actions.

  • - Add a workflow file for "build" and "test", for 'dev' branch.
  • - Add "Publish to Npm" workflow for push/pull requests to master.
@elycruz elycruz self-assigned this Jul 20, 2021
elycruz pushed a commit that referenced this issue Jul 20, 2021
…d-and-test' and 'publish-master' actions (the second action get's triggered when a new "release" is created (in repos releases page etc.)).
elycruz pushed a commit that referenced this issue Jul 20, 2021
…sion was updated to version 1.2.3. Removed 'package-lock.json' from .gitignore - github-action workflows require it (for 'npm publish' etc.).
elycruz pushed a commit that referenced this issue Jul 20, 2021
elycruz pushed a commit that referenced this issue Jul 20, 2021
…ical and latest versions (the ones under '@babel' and '@rollup' namespaces). Updated 'rollup.config' to use the more modern config approach to outputting commonjs modules.  Moved './src/.babelrc' to './babel.config.json' - more idiomatic way, and also the same config can now be used for test files.  Added suffixes to test files - 'test/index.js' is not 'test/index.test.js' etc. - Allows us to target only 'test/*.test.js' files, when running tests - speed boost to tests and also more precise, since there is not confusion when looking at files which files are/do what etc..
elycruz pushed a commit that referenced this issue Jul 21, 2021
elycruz pushed a commit that referenced this issue Jul 23, 2021
…sources (offset this, and loading sources in 'before' ava hook). Updated tests where `outputBundle.write(...)` is called to inspect results based on call locations specific test case - In one test case a sinon spy is used so results will not be as expected - test case updated. Updated all test cases to call `outputBundle.close()`, as recommended in rollup docs - helps to free up in running subprocesses used up by `outputBundle` (and it's plugins etc.). Updated all file writing, from test cases, to happen to './.tests-output' dir - helps with artifacts debugging etc..
elycruz pushed a commit that referenced this issue Jul 23, 2021
elycruz added a commit that referenced this issue Jul 23, 2021
Feature/#75 GitHub Actions, Babel.config, Rollup.config, and Tests update
elycruz pushed a commit that referenced this issue Jul 23, 2021
elycruz added a commit that referenced this issue Jul 28, 2021
#75, #76, #77 - Github Actions and Tests update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant