-
Notifications
You must be signed in to change notification settings - Fork 119
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
Use Object.assign #630
Use Object.assign #630
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Feel free to merge even without the check run, I either need to switch to GitHub Actions or figure out why CircleCI does not pick up your pull request. |
I took the liberty to rebase your branch, because I have now configured GitHub Actions. Looks like the previously expected circleci check cannot be removed from existing pull requests, but with the Node.js CI check green this should be safe to merge. |
I removed the CircleCI job from the required status checks under the branch protection rules. And I added the new A couple only somewhat related things that you may or may not want to consider. The names for the required status checks come from a concatenation of the job name in the yaml file and version from the strategy matrix. So in this case, the status check will be prefixed with
If you wanted it to be named If you are only really concerned about testing against one version of Node, I think it is nicer to remove the strategy matrix and just use a fixed Node version. --- a/.github/workflows/node.js.yml
+++ b/.github/workflows/node.js.yml
@@ -14,17 +14,11 @@ jobs:
runs-on: ubuntu-latest
- strategy:
- matrix:
- node-version: [16.x]
- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
-
steps:
- uses: actions/checkout@v3
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v3
+ - uses: actions/setup-node@v3
with:
- node-version: ${{ matrix.node-version }}
+ node-version: '16.x'
cache: 'npm'
- run: npm ci
- run: npm run build --if-present That way, the required status check name is fixed ( See #634 . |
Thanks, @tschaub. |
This makes use of
Object.assign
instead of importingassign
from theol/obj.js
module.See openlayers/openlayers#13888.