Skip to content

Commit

Permalink
chore: updates release yml (#171)
Browse files Browse the repository at this point in the history
* chore: updates release yml

* chore: fixes package manager version
  • Loading branch information
cb-haripriyan authored Dec 12, 2023
1 parent 42e4566 commit b0ab4d8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Enable Corepack before setting up Node
run: corepack enable
- name: Cache node modules
id: cache-nodemodules
uses: actions/cache@v2
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
branches:
- master
- next
paths-ignore:
- 'CHANGELOG.md'
- 'package-lock.json'
- 'package.json'
jobs:
release:
runs-on: ubuntu-latest
Expand All @@ -13,6 +17,8 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Enable Corepack before setting up Node
run: corepack enable
- name: Initialize Git Config
run: |
git config user.name "${GITHUB_ACTOR}"
Expand Down Expand Up @@ -49,7 +55,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release package
if: github.ref == 'refs/heads/master'
run: npm run release -- --ci -VV
run: npm run release -- --ci --dry-run -VV
env:
NPM_TOKEN: ${{ secrets.RN_SDK_NPM_WRITE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"engines": {
"node": ">= 16.0.0"
},
"packageManager": "^[email protected].15",
"packageManager": "[email protected].19",
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
Expand Down

0 comments on commit b0ab4d8

Please sign in to comment.