Skip to content

Commit

Permalink
deprecating old js build (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
GersonTrj authored Aug 6, 2024
1 parent ad8b106 commit 080aafd
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This workflow will be deprecated and removed soon.
name: Build and Types
on:
workflow_call:
Expand All @@ -7,12 +8,12 @@ on:
inputs:
WORKING_DIRECTORY:
type: string
default: '.'
default: "."
required: false
BUILD_CMD_FLAG:
description: Optional flag to pass to `build` command script (e.g. :backend / :frontend / :all, etc.)
type: string
default: ''
default: ""
required: false
CI:
type: boolean
Expand Down Expand Up @@ -40,7 +41,7 @@ jobs:
./node_modules
/home/runner/.cache/Cypress
key: node-cache-${{ runner.os }}-${{ hashFiles('./yarn.lock') }}

# Restore Next.js cache
- name: Restore .next
uses: actions/cache@v4
Expand All @@ -55,7 +56,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version-file: ${{ inputs.WORKING_DIRECTORY }}/.nvmrc
registry-url: 'https://npm.pkg.github.com'
registry-url: "https://npm.pkg.github.com"

- name: Setup Yarn
run: npm install -g yarn
Expand All @@ -70,6 +71,6 @@ jobs:
run: ${{ format('{0} {1}{2}', 'yarn', 'build', inputs.BUILD_CMD_FLAG) }}
env:
CI: ${{ inputs.CI }}

- name: Deprecation message
run: echo "This workflow will be deprecated and removed soon."
run: echo "This workflow will be deprecated and removed soon."

0 comments on commit 080aafd

Please sign in to comment.