Skip to content

Commit b4ca31b

Browse files
authored
Testing CI (#1)
* Working through CI * Fixing test * Set node version * Check dist fix
1 parent 1364772 commit b4ca31b

File tree

7 files changed

+5738
-2262
lines changed

7 files changed

+5738
-2262
lines changed

.github/workflows/check-dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
- name: Build dist/ Directory
4545
id: build
46-
run: npm run bundle
46+
run: npm run package
4747

4848
# This will fail the workflow if the `dist/` directory is different than
4949
# expected.

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24.4.0

__tests__/parser.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { parseChangelog } = require('../src/parser')
1+
import { parseChangelog } from '../src/parser.js'
22

33
// Sample changelog content based on Mantle Framework format
44
const sampleChangelog = `# Changelog

jest.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// See: https://jestjs.io/docs/configuration
2+
3+
/** @type {import('jest').Config} */
4+
const jestConfig = {
5+
clearMocks: true,
6+
collectCoverage: false,
7+
moduleFileExtensions: ['js'],
8+
reporters: ['default'],
9+
testEnvironment: 'node',
10+
testMatch: ['**/*.test.js'],
11+
testPathIgnorePatterns: ['/dist/', '/node_modules/'],
12+
verbose: true
13+
}
14+
15+
export default jestConfig

0 commit comments

Comments
 (0)