Skip to content

Commit c9ea3c4

Browse files
authored
chore: update packages (#179)
* Update to latest core packages * Merge publish and version workflow
1 parent b8a4e26 commit c9ea3c4

File tree

8 files changed

+100
-151
lines changed

8 files changed

+100
-151
lines changed

.github/workflows/publish-release.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
name: publish-release
22

3-
on:
4-
pull_request:
5-
types: [closed]
6-
branches:
7-
- main
3+
on: workflow_dispatch
84

95
jobs:
106
publish-release:
117
name: Release - Publish
12-
# Only run when merging a release branch
13-
if: >
14-
(github.event.pull_request.merged == true) &&
15-
startsWith(github.head_ref, 'release/')
168
runs-on: ubuntu-latest
179
steps:
1810
# Cloning
@@ -51,6 +43,12 @@ jobs:
5143
- name: Core - Build
5244
run: npm run build
5345

46+
# Versioning
47+
- name: "Core - Version"
48+
env:
49+
GH_TOKEN: ${{ secrets.SYNTEST_CI }}
50+
run: npx lerna version --conventional-commits --conventional-graduate --changelog-preset conventionalcommits --create-release github --yes --loglevel silly
51+
5452
# Publishing
5553
- name: "Core - Publish"
5654
env:

.github/workflows/version-release.yml

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

libraries/analysis-javascript/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@
4848
"dependencies": {
4949
"@babel/core": "7.20.12",
5050
"@babel/traverse": "7.20.12",
51-
"@syntest/analysis": "^0.1.0-beta.7",
51+
"@syntest/analysis": "^0.2.0",
5252
"@syntest/ast-visitor-javascript": "*",
53-
"@syntest/cfg": "^0.3.0-beta.18",
54-
"@syntest/logging": "^0.1.0-beta.7",
55-
"@syntest/prng": "*",
56-
"@syntest/search": "^0.4.0-beta.36"
53+
"@syntest/cfg": "^0.4.0",
54+
"@syntest/logging": "^0.1.1",
55+
"@syntest/prng": "^0.1.1",
56+
"@syntest/search": "^0.4.0"
5757
},
5858
"engines": {
5959
"node": ">=10.24.0"

libraries/ast-visitor-javascript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"dependencies": {
4949
"@babel/core": "7.20.12",
5050
"@babel/traverse": "7.20.12",
51-
"@syntest/logging": "^0.1.0-beta.7",
51+
"@syntest/logging": "^0.1.1",
5252
"globals": "^13.20.0"
5353
},
5454
"engines": {

libraries/instrumentation-javascript/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@
4949
"@babel/core": "7.20.12",
5050
"@babel/traverse": "7.20.12",
5151
"@istanbuljs/schema": "^0.1.3",
52-
"@syntest/analysis-javascript": "^0.1.0-beta.22",
52+
"@syntest/analysis-javascript": "*",
5353
"@syntest/ast-visitor-javascript": "*",
54-
"@syntest/storage": "*",
54+
"@syntest/storage": "^0.2.0",
5555
"istanbul-lib-coverage": "^3.2.0"
5656
},
5757
"devDependencies": {

libraries/search-javascript/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@
5050
"@babel/generator": "^7.21.9",
5151
"@babel/preset-env": "7.19.1",
5252
"@babel/register": "7.18.9",
53-
"@syntest/analysis": "^0.1.0-beta.9",
53+
"@syntest/analysis": "^0.2.0",
5454
"@syntest/analysis-javascript": "*",
5555
"@syntest/ast-visitor-javascript": "*",
56-
"@syntest/cfg": "^0.3.0-beta.18",
56+
"@syntest/cfg": "^0.4.0",
5757
"@syntest/instrumentation-javascript": "*",
58-
"@syntest/logging": "^0.1.0-beta.7",
59-
"@syntest/prng": "*",
60-
"@syntest/search": "^0.4.0-beta.36",
61-
"@syntest/storage": "*",
58+
"@syntest/logging": "^0.1.1",
59+
"@syntest/prng": "^0.1.1",
60+
"@syntest/search": "^0.4.0",
61+
"@syntest/storage": "^0.2.0",
6262
"chai": "4.3.7",
6363
"chai-as-promised": "7.1.1",
6464
"lodash.clonedeep": "4.5.0",

0 commit comments

Comments
 (0)