Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

Commit 04dfe2e

Browse files
committed
fix: upgrade xml-disassembler
1 parent 58e8ecc commit 04dfe2e

File tree

6 files changed

+116
-3070
lines changed

6 files changed

+116
-3070
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@ on:
33
push:
44
branches-ignore:
55
- main
6-
- beta
76

87
jobs:
98
build:
109
name: Build
1110
runs-on: ubuntu-latest
1211

1312
steps:
14-
- uses: pnpm/action-setup@v2.4.0
13+
- uses: pnpm/action-setup@v4.0.0
1514
with:
1615
version: 8
1716

.github/workflows/release.yml

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,53 @@ on:
33
push:
44
branches:
55
- main
6-
- beta
7-
8-
workflow_dispatch:
6+
permissions:
7+
contents: write
8+
pull-requests: write
99

1010
jobs:
1111
release:
1212
name: Release
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: pnpm/action-setup@v2.4.0
16+
- name: Release Please
17+
id: release
18+
uses: googleapis/release-please-action@v4
19+
with:
20+
release-type: node
21+
22+
- uses: pnpm/action-setup@v4.0.0
1723
with:
1824
version: 8
25+
if: ${{ steps.release.outputs.release_created == 'true' }}
1926

2027
- name: Checkout
2128
uses: actions/checkout@v4.1.1
29+
if: ${{ steps.release.outputs.release_created == 'true' }}
2230

2331
- name: Setup Node
2432
uses: actions/setup-node@v4.0.1
2533
with:
2634
node-version: 18
2735
cache: pnpm
36+
registry-url: "https://registry.npmjs.org"
37+
if: ${{ steps.release.outputs.release_created == 'true' }}
2838

2939
- name: Install Dependencies
3040
run: pnpm install
41+
if: ${{ steps.release.outputs.release_created == 'true' }}
3142

3243
- name: Build
3344
run: pnpm build
45+
if: ${{ steps.release.outputs.release_created == 'true' }}
3446

3547
- name: Test
3648
run: pnpm test
49+
if: ${{ steps.release.outputs.release_created == 'true' }}
3750

38-
- name: Semantic Release
51+
- name: Publish to NPM
52+
run: npm publish --access public --tag latest
3953
env:
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
42-
run: npx semantic-release
54+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
55+
if: ${{ steps.release.outputs.release_created == 'true' }}

.releaserc.json

Lines changed: 0 additions & 28 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!-- markdownlint-disable MD024 MD025 -->
2+
<!-- markdown-link-check-disable -->
3+
4+
# Changelog
5+
6+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
7+
18
## [1.1.1](https://github.com/mcarvin8/xml2json-disassembler/compare/v1.1.0...v1.1.1) (2024-05-22)
29

310
### Bug Fixes

package.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@
3030
"devDependencies": {
3131
"@rollup/plugin-terser": "^0.4.4",
3232
"@rollup/plugin-typescript": "^11.1.6",
33-
"@semantic-release/changelog": "^6.0.3",
34-
"@semantic-release/commit-analyzer": "^11.1.0",
35-
"@semantic-release/git": "^10.0.1",
36-
"@semantic-release/github": "^9.2.6",
37-
"@semantic-release/npm": "^11.0.2",
38-
"@semantic-release/release-notes-generator": "^12.1.0",
3933
"@types/fs-extra": "^11.0.4",
4034
"@types/jest": "^29.5.11",
4135
"@types/node": "^20.11.19",
@@ -46,7 +40,6 @@
4640
"lint-staged": "^15.2.0",
4741
"prettier": "3.2.4",
4842
"rollup": "^4.9.6",
49-
"semantic-release": "^17.4.7",
5043
"ts-jest": "^29.1.2",
5144
"typescript": "^5.3.3"
5245
},
@@ -55,7 +48,7 @@
5548
"ignore": "^5.3.1",
5649
"log4js": "^6.9.1",
5750
"tslib": "^2.6.2",
58-
"xml-disassembler": "^1.3.1"
51+
"xml-disassembler": "^1.3.4"
5952
},
6053
"repository": {
6154
"type": "git",

0 commit comments

Comments
 (0)