Skip to content

Commit 836e9d9

Browse files
committed
Fix CI
1 parent 39855a5 commit 836e9d9

File tree

8 files changed

+8
-32
lines changed

8 files changed

+8
-32
lines changed

.github/workflows/ghnpm-publish.yml renamed to .github/workflows/npm-publish-github-packages.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,11 @@
1-
name: Node.js Package Publish NPM
1+
name: Node.js Package Publish GitHub Packages
22

33
on:
44
release:
55
types: [created]
66

77
jobs:
8-
build:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@v4
12-
- uses: actions/setup-node@v4
13-
with:
14-
node-version: 22
15-
- run: npm ci
16-
- run: npm test
17-
188
publish-npm:
19-
needs: build
209
runs-on: ubuntu-latest
2110
permissions:
2211
contents: read
@@ -27,7 +16,6 @@ jobs:
2716
with:
2817
node-version: 22
2918
registry-url: https://npm.pkg.github.com/
30-
- run: npm ci
3119
- run: cd src/randflake-ts/sparx64 && npm publish && cd ../../
3220
env:
3321
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,14 @@ on:
55
types: [created]
66

77
jobs:
8-
build:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@v4
12-
- uses: actions/setup-node@v4
13-
with:
14-
node-version: 22
15-
- run: npm ci
16-
- run: npm test
17-
188
publish-npm:
19-
needs: build
209
runs-on: ubuntu-latest
2110
steps:
2211
- uses: actions/checkout@v4
2312
- uses: actions/setup-node@v4
2413
with:
2514
node-version: 22
2615
registry-url: https://registry.npmjs.org/
27-
- run: npm ci
2816
- run: cd src/randflake-ts/sparx64 && npm publish && cd ../../
2917
env:
3018
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "randflake-monorepo",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"private": true,
55
"description": "Distributed unique ID generator with encryption",
66
"workspaces": [

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "randflake"
7-
version = "1.5.1"
7+
version = "1.5.2"
88
description = "A Python implementation the Randflake ID: a distributed, uniform, unpredictable, unique random ID generator."
99
authors = [
1010
{name = "GoSuda"}

src/randflake-ts/randflake/jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@safe/randflake",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"exports": "./src/index.ts",
55
"publish": {
66
"include": [

src/randflake-ts/randflake/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "randflake",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"description": "TypeScript implementation of randflake ID generator",
55
"type": "module",
66
"main": "./dist/index.js",
@@ -21,7 +21,7 @@
2121
"dist"
2222
],
2323
"dependencies": {
24-
"sparx64": "^1.5.1"
24+
"sparx64": "^1.5.2"
2525
},
2626
"devDependencies": {
2727
"typescript": "^5.2.2",

src/randflake-ts/sparx64/jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@safe/sparx64",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"exports": "./src/index.ts",
55
"publish": {
66
"include": [

src/randflake-ts/sparx64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sparx64",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"description": "TypeScript implementation of SPARX-64/128 block cipher",
55
"type": "module",
66
"main": "./dist/index.js",

0 commit comments

Comments
 (0)