fix npm version 9.9.0 on github (#281)

Co-authored-by: Ohad Bitton <ohbitton@microsoft.com>
This commit is contained in:
ohad bitton 2023-10-31 12:34:42 +02:00 коммит произвёл GitHub
Родитель 92b34f8f20
Коммит d6df72edb3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 59 добавлений и 59 удалений

46
.github/workflows/npmpublish.yml поставляемый
Просмотреть файл

@ -1,23 +1,23 @@
name: js Package
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v1
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Publish new versions
run: |
npm install -g npm@latest
npm ci
npx lerna publish from-git --yes
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
name: js Package
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v1
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Publish new versions
run: |
npm install -g npm@9.9.0
npm ci
npx lerna publish from-git --yes
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

72
.github/workflows/release.yml поставляемый
Просмотреть файл

@ -1,36 +1,36 @@
name: release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
cache: "npm"
cache-dependency-path: |
package-lock.json
- name: Package
run: |
lerna exec -- npm pack
- name: Github Release
uses: docker://antonyurchenko/git-release:latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: packages/azure-kusto-data/*.tgz packages/azure-kusto-ingest/*.tgz packages/quick_start/*.tgz
- name: Publish new versions
run: |
npm install -g npm@latest
npm ci
npm run build
lerna publish from-git --yes
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
name: release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
cache: "npm"
cache-dependency-path: |
package-lock.json
- name: Package
run: |
lerna exec -- npm pack
- name: Github Release
uses: docker://antonyurchenko/git-release:latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: packages/azure-kusto-data/*.tgz packages/azure-kusto-ingest/*.tgz packages/quick_start/*.tgz
- name: Publish new versions
run: |
npm install -g npm@9.9.0
npm ci
npm run build
lerna publish from-git --yes
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}