This commit is contained in:
AsafMah 2022-04-05 12:11:04 +03:00
Родитель 5fc501caf8
Коммит 8d5112e74f
2 изменённых файлов: 42 добавлений и 0 удалений

21
.github/workflows/pin-dependency.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,21 @@
name: Pin azure-kusto-data dependency
on: workflow_dispatch
jobs:
report:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
- name: Create report file
run: npm install azure-kusto-data@$(npm pkg get version | tr -d '"') --save-exact
working-directory: azure-kusto-ingest
- name: Commit report
run: |
cat azure-kusto-ingest/package.json azure-kusto-ingest/package-lock.json
git config --global user.name 'Asaf mahlev'
git config --global user.email 'AsafMah@users.noreply.github.com'
git commit -am "Pin azure-kusto-ingest version to azure-kusto-data@$(npm pkg get version | tr -d '"')"
git push

21
.github/workflows/unpin-dependency.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,21 @@
name: Pin azure-kusto-data dependency
on: workflow_dispatch
jobs:
report:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
- name: Create report file
run: npm install azure-kusto-data --save-exact
working-directory: azure-kusto-ingest
- name: Commit report
run: |
cat azure-kusto-ingest/package.json azure-kusto-ingest/package-lock.json
git config --global user.name 'Asaf mahlev'
git config --global user.email 'AsafMah@users.noreply.github.com'
git commit -am "Unpin azure-kusto-ingest version to azure-kusto-data latest"
git push