Skip to content

Commit 4be5a75

Browse files
committed
Merge master branch to resolve conflicts
2 parents 51876ff + f2af17e commit 4be5a75

2 files changed

Lines changed: 52 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Release to NPM
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '18.x'
19+
registry-url: 'https://registry.npmjs.org'
20+
cache: 'npm'
21+
22+
- name: Install dependencies
23+
run: npm ci
24+
25+
- name: Run tests
26+
run: npm test
27+
28+
- name: Publish to NPM
29+
run: npm publish
30+
env:
31+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [2.5.1] - 2025-09-17
9+
10+
### Changed
11+
- Updated dependencies to latest versions
12+
- No breaking changes
13+
14+
### Added
15+
- GitHub Actions workflow for automated NPM releases
16+
- CI/CD pipeline for quality-gated publishing
17+
18+
## [2.5.0] - 2017-05-03
19+
20+
### Added
21+
- `avoid` option in `Graph#path` - You can now pass an array of nodes to avoid when computing the path

0 commit comments

Comments
 (0)