Skip to content

Commit

Permalink
Merge branch 'main' into fix-release-workflow-v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Andres23Ramirez committed May 23, 2024
2 parents a32c0dd + 082280d commit 20eb498
Show file tree
Hide file tree
Showing 4 changed files with 3,472 additions and 21 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup NodeJS
uses: actions/setup-node@v2
with:
node-version: "18.16.1"
node-version: '20.8.1'

- name: Get Yarn Cache Directory Path
id: yarn-cache-dir-path
Expand Down Expand Up @@ -58,6 +58,11 @@ jobs:
steps:
- name: Chekout Code
uses: actions/checkout@v2

- name: Setup NodeJS
uses: actions/setup-node@v2
with:
node-version: '20.8.1'

- name: Download Package Dependencies
uses: actions/download-artifact@v2
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ jobs:
with:
ref: ${{ github.event.workflow_run.head_branch }}

- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
~/.cache/yarn
**/node_modules
key: ${{ runner.os }}-build-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-
- name: Install Packages
run: yarn install --frozen-lockfile
shell: bash
Expand All @@ -31,5 +41,4 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.NPMJS_TOKEN }}
GH_TOKEN: ${{ secrets.PRIVATE_REPO_GITHUB_TOKEN }}
run: |
yarn semantic-release
run: yarn semantic-release
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"lodash": "^4.17.21",
"nodemon": "^2.0.15",
"prettier": "^2.5.1",
"semantic-release": "^23.1.1",
"ts-jest": "^25.2.1",
"ts-node": "^10.4.0",
"typescript": "^3.8.3"
Expand Down
Loading

0 comments on commit 20eb498

Please sign in to comment.