forked from priyagupta108/sample-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4175dd1
commit 72f4bed
Showing
1 changed file
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,29 @@ | ||
name: CI Build | ||
name: user post setup Tests with v3 | ||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
PNPM_CACHE_FOLDER: .pnpm-store | ||
jobs: | ||
build-webfrontend: | ||
version_or_release: | ||
name: 'Version and open PR (or) release private packages' | ||
timeout-minutes: 15 | ||
runs-on: ubuntu-latest | ||
environment: 'Production - Private Packages' | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- name: checkout code repository | ||
uses: actions/checkout@v3 | ||
with: | ||
node-version: "20" | ||
cache: 'yarn' | ||
cache-dependency-path: '**/yarn.lock' | ||
fetch-depth: 0 | ||
- uses: pnpm/action-setup@v4 | ||
- name: setup node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: 'pnpm' | ||
- name: setup pnpm store config | ||
run: pnpm config set store-dir $PNPM_CACHE_FOLDER | ||
- name: install dependencies | ||
run: pnpm install --frozen-lockfile | ||
|
||
|