Skip to content

Switch to GitHub Actions#76

Closed
silverwind wants to merge 3 commits into
masterfrom
actions
Closed

Switch to GitHub Actions#76
silverwind wants to merge 3 commits into
masterfrom
actions

Conversation

@silverwind
Copy link
Copy Markdown
Collaborator

Attempt to replicate what Travis has done before. The list of tested node versions is probably excessive but it should pass on all of them.

Comment thread .github/workflows/ci.yml
push:
branches:
- master
pull_request:
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

e81b402 has restriced CI runs to the master branch only, e.g. it would not run on PRs any more. I'm not sure if that was the intention behind that change, so I reinstated running on PR.

Comment thread .github/workflows/ci.yml
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: npm install
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe add package-lock.json to the repo (it is currently in .gitignore) and use npm ci here instead.

Copy link
Copy Markdown
Collaborator Author

@silverwind silverwind Nov 3, 2021

Choose a reason for hiding this comment

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

Not sure I see a benefit there, I use npm install on all my CI setup, specifically not using npm ci because it had odd behaviours/bugs related to native modules last time I checked.

@silverwind
Copy link
Copy Markdown
Collaborator Author

Coveralls upload is currently broken, need to investigate.

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.

2 participants