Skip to content

Commit 7f4141f

Browse files
Fixes for github workflow
1 parent c20a65a commit 7f4141f

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/onPushToMain.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v4
1313
- uses: actions/setup-node@v4
1414
with:
15-
node_version: 22
15+
node-version: 22
1616
- name: Check if version already exists
1717
id: version-check
1818
run: |
@@ -34,12 +34,12 @@ jobs:
3434
- name: Setup git
3535
if: ${{ steps.version-check.outputs.skipped == 'false' }}
3636
run: |
37-
apt-get update
38-
apt-get install -y git-core
37+
sudo apt-get update
38+
sudo apt-get install -y git-core
3939
git --version
4040
echo "Path is ... $PATH"
41-
git config --global user.email "GitHub Actions Bot"
42-
git config --global user.name "<>"
41+
git config --global user.email "[email protected]"
42+
git config --global user.name "dishantlangayan"
4343
- name: Generate oclif README
4444
if: ${{ steps.version-check.outputs.skipped == 'false' }}
4545
id: oclif-readme

.github/workflows/onRelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- run: npm install
1717
- run: npm run build
1818
- run: npm run prepack
19-
- uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c
19+
- uses: JS-DevTools/npm-publish@v3
2020
with:
2121
token: ${{ secrets.NPM_TOKEN }}
2222
- run: npm run postpack

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ jobs:
99
strategy:
1010
matrix:
1111
os: ['ubuntu-latest', 'windows-latest']
12-
# node_version: [lts/-1, lts/*, latest]
13-
node_version: [22, 20]
12+
# node-version: [lts/-1, lts/*, latest]
13+
node-version: [22, 20]
1414
fail-fast: false
1515
runs-on: ${{ matrix.os }}
1616
steps:
1717
- uses: actions/checkout@v4
1818
- uses: actions/setup-node@v4
1919
with:
20-
node-version: ${{ matrix.node_version }}
20+
node-version: ${{ matrix.node-version }}
2121
cache: npm
2222
- run: npm update -g npm
2323
- run: npm install

0 commit comments

Comments
 (0)