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

Release v2.4.6 #70

Merged
merged 28 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
11ea75b
build(deps): bump actions/checkout from 2 to 4
dependabot[bot] Jun 8, 2024
5443556
build(deps): bump release-drafter/release-drafter from 5 to 6
dependabot[bot] Jun 8, 2024
8ad6a00
build(deps): bump JS-DevTools/npm-publish from 1 to 3
dependabot[bot] Jun 8, 2024
8cfe484
build(deps): bump actions/cache from 2 to 4
dependabot[bot] Jun 8, 2024
b3a699b
Merge pull request #41 from sgratzl/dependabot/github_actions/dev/act…
sgratzl Jun 8, 2024
38273b2
Merge pull request #43 from sgratzl/dependabot/github_actions/dev/rel…
sgratzl Jun 8, 2024
c514d99
build(deps): bump actions/setup-node from 2 to 4
dependabot[bot] Jun 8, 2024
c3f05f9
Merge pull request #44 from sgratzl/dependabot/github_actions/dev/JS-…
sgratzl Jun 8, 2024
ba2a396
Merge pull request #45 from sgratzl/dependabot/github_actions/dev/act…
sgratzl Jun 8, 2024
ece2f94
Merge pull request #42 from sgratzl/dependabot/github_actions/dev/act…
sgratzl Jun 8, 2024
d4f382e
build(deps-dev): bump prettier from 3.3.1 to 3.3.2
dependabot[bot] Jul 1, 2024
7b8f5eb
build(deps-dev): bump @yarnpkg/sdks from 3.1.2 to 3.1.3
dependabot[bot] Jul 1, 2024
1889b90
build(deps-dev): bump typedoc from 0.25.13 to 0.26.3
dependabot[bot] Jul 1, 2024
29bddfd
build(deps): bump peter-evans/create-pull-request from 3 to 6
dependabot[bot] Jul 1, 2024
4283f92
build(deps): bump AButler/upload-release-assets from 2.0 to 3.0
dependabot[bot] Jul 1, 2024
25889a1
Merge pull request #51 from sgratzl/dependabot/npm_and_yarn/dev/typed…
sgratzl Jul 2, 2024
a680a72
Merge pull request #48 from sgratzl/dependabot/npm_and_yarn/dev/yarnp…
sgratzl Jul 2, 2024
c44daa8
Merge pull request #53 from sgratzl/dependabot/github_actions/dev/ABu…
sgratzl Jul 2, 2024
6012971
Merge pull request #52 from sgratzl/dependabot/github_actions/dev/pet…
sgratzl Jul 2, 2024
4d673c6
Merge pull request #47 from sgratzl/dependabot/npm_and_yarn/dev/prett…
sgratzl Jul 2, 2024
d7d8147
build(deps): bump micromatch from 4.0.7 to 4.0.8
dependabot[bot] Sep 12, 2024
794ab0a
build(deps-dev): bump rollup from 4.18.0 to 4.22.4
dependabot[bot] Sep 24, 2024
5b2a892
Merge pull request #64 from sgratzl/dependabot/npm_and_yarn/rollup-4.…
sgratzl Sep 29, 2024
b82f6e4
Merge pull request #63 from sgratzl/dependabot/npm_and_yarn/micromatc…
sgratzl Sep 29, 2024
9982fdb
build: upgrade
sgratzl Oct 25, 2024
7d6c1d6
Merge remote-tracking branch 'origin/dev' into upgrade
sgratzl Oct 25, 2024
511a3ae
Merge pull request #69 from sgratzl/upgrade
sgratzl Oct 25, 2024
9d60c44
chore: release v2.4.6
sgratzl Oct 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions .eslintrc.cjs

This file was deleted.

17 changes: 12 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,17 @@ on:

jobs:
build:
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm i -g yarn
- run: yarn config set checksumBehavior ignore
- name: Cache Node.js modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./.yarn/cache
Expand All @@ -25,7 +26,13 @@ jobs:
${{ runner.os }}-yarn2-v4
- run: yarn install
- run: yarn build
- run: yarn samples
- run: yarn lint
- run: yarn test:coverage
- run: yarn docs
# - run: yarn docs
# - name: Deploy
# if: github.ref == 'refs/heads/master' && github.event_name == 'push'
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./docs
# enable_jekyll: false
11 changes: 7 additions & 4 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ on:
description: 'Semantic Version Number (i.e., 5.5.0 or patch, minor, major, prepatch, preminor, premajor, prerelease)'
required: true
default: patch
preid:
description: 'Pre Release Identifier (i.e., alpha, beta)'
required: true
default: alpha
jobs:
create_release:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main
ssh-key: ${{ secrets.PRIVATE_SSH_KEY }}
Expand All @@ -22,10 +26,9 @@ jobs:
- name: Change version number
id: version
run: |
echo -n "::set-output name=next_tag::"
npm version --no-git-tag-version ${{ github.event.inputs.versionName }}
echo "next_tag=$(npm version --no-git-tag-version ${{ github.event.inputs.versionName }} --preid ${{ github.event.inputs.preid }})" >> $GITHUB_OUTPUT
- name: Create pull request into main
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v7
with:
branch: release/${{ steps.version.outputs.next_tag }}
commit-message: 'chore: release ${{ steps.version.outputs.next_tag }}'
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/dependabot_automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Dependabot auto-merge
on:
pull_request:
branches:
- 'dev' # only into dev

permissions:
contents: write
pull-requests: write

jobs:
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'sgratzl/cytoscape.js-layers'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: Enable auto-merge for Dependabot PRs
# patch only
if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
38 changes: 23 additions & 15 deletions .github/workflows/release_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,32 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- uses: actions/setup-node@v2
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Extract version
id: extract_version
run: node -pe "'::set-output name=version::' + require('./package.json').version"
run: |
node -pe "'version=' + require('./package.json').version" >> $GITHUB_OUTPUT
node -pe "'npm_tag=' + (require('./package.json').version.includes('-') ? 'next' : 'latest')" >> $GITHUB_OUTPUT
- name: Print version
run: |
echo "releasing ${{ steps.extract_version.outputs.version }} with tag ${{ steps.extract_version.outputs.npm_tag }}"
- name: Create Release
id: create_release
uses: release-drafter/release-drafter@v5
uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: v${{ steps.extract_version.outputs.version }}
tag: v${{ steps.extract_version.outputs.version }}
version: ${{ steps.extract_version.outputs.version }}
prerelease: ${{ needs.create_release.outputs.tag_name == 'next' }}
publish: true
outputs:
version: ${{ steps.extract_version.outputs.version }}
npm_tag: ${{ steps.extract_version.outputs.npm_tag }}
upload_url: ${{ steps.create_release.outputs.upload_url }}
tag_name: ${{ steps.create_release.outputs.tag_name }}

Expand All @@ -42,14 +51,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- uses: actions/setup-node@v2
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm i -g yarn
- run: yarn config set checksumBehavior ignore
- name: Cache Node.js modules
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
./.yarn/cache
Expand All @@ -61,24 +70,23 @@ jobs:
- run: yarn build
- run: yarn pack
- name: Upload Release Asset
uses: AButler/upload-release-assets@v2.0
uses: AButler/upload-release-assets@v3.0
with:
files: 'package.tgz'
repo-token: ${{ secrets.GITHUB_TOKEN }}
release-tag: ${{ needs.create_release.outputs.tag_name }}
- name: Publish to NPM
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
access: public
check-version: true
- name: Pack Publish
run: |
yarn config set npmAuthToken "${{ secrets.NPM_TOKEN }}"
yarn pack
yarn npm publish --tag "${{ needs.create_release.outputs.npm_tag }}"

sync_dev:
needs: correct_repository
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: dev
ssh-key: ${{ secrets.PRIVATE_SSH_KEY }}
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ npm-debug.log*
/docs
samples/*.map
samples/*.js
*.tsbuildinfo
*.tsbuildinfo
.eslintcache
/docs
Loading