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

Adds GitHub Actions CI, removes .travis.yml #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mattxwang
Copy link

Hi folks,

Was catching up on dependency updates and noticed #41; this PR is a quick attempt to add GitHub Actions CI that runs npm test across:

  • LTS node versions - currently 18, 20, and 22
  • latest versions of ubuntu, macOS, and windows

My fork has Actions enabled, so you can see the workflow this file generated; everything seems to work as intended, and overall time is pretty short (~ 10-40s across all nine combinations).

I also removed the (probably unused?) .travis.yml file.

Let me know if you've got any feedback and/or if there are other steps I should do (e.g. sign a CLA). Thanks!


(should close #41)

uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install

Choose a reason for hiding this comment

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

Audit before install
- run: npm audit --package-lock-only --production --audit-level=moderate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add CI/CD workflow to .github folder
2 participants