Skip to content

Conversation

@mattxwang
Copy link
Contributor

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

@mrmlnc
Copy link
Contributor

mrmlnc commented Jan 7, 2025

Thanks for the contribution!

I will merge your pull request and make a few edits in the next one.

@mrmlnc mrmlnc merged commit 19803f1 into micromatch:master Jan 7, 2025
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

3 participants