fix version for npm publish

main
Shahriar 2024-01-20 01:58:33 +03:30
parent 745704accd
commit 6217a8e434
3 changed files with 6 additions and 17 deletions

View File

@ -5,24 +5,13 @@ on:
types: [created]
jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: 16
# - run: npm ci
# - run: npm test
publish-npm:
# needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish

6
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "strapi-content-type-explorer",
"version": "0.1.0",
"version": "0.2.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "strapi-content-type-explorer",
"version": "0.1.0",
"version": "0.2.0",
"license": "MIT",
"dependencies": {
"@tisoap/react-flow-smart-edge": "^3.0.0",
@ -16866,4 +16866,4 @@
}
}
}
}
}

View File

@ -1,6 +1,6 @@
{
"name": "strapi-content-type-explorer",
"version": "0.1.0",
"version": "0.2.0",
"description": "A Strapi plugin to view your content types and their relationships",
"strapi": {
"name": "content-type-explorer",
@ -39,4 +39,4 @@
"npm": ">=6.0.0"
},
"license": "MIT"
}
}