Skip to content

Commit d5f014f

Browse files
authored
Merge pull request #49 from contentstack/fix/ghwf_issuefix
Fix/ghwf issuefix
2 parents eec384e + 1cc168b commit d5f014f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@ on:
77
types: [created]
88

99
jobs:
10-
publish-npm:
10+
publish-npm:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v3
1414
- uses: actions/setup-node@v3
1515
with:
16-
node-version: '12.x'
16+
node-version: '18.x'
1717
registry-url: 'https://registry.npmjs.org'
1818
- run: npm ci
1919
- run: npm publish
2020
env:
2121
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22-
publish-git:
22+
publish-git:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v3
2626
- uses: actions/setup-node@v3
2727
with:
28-
node-version: '12.x'
28+
node-version: '18.x'
2929
registry-url: 'https://npm.pkg.github.com'
3030
scope: '@contentstack'
3131
- run: npm ci

0 commit comments

Comments
 (0)