Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-extension-catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
cache: yarn

- name: Install dependencies
run: yarn
run: yarn install --frozen-lockfile

- name: Parse Extension Name
if: github.ref_type == 'tag' || inputs.is_test == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-extension-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
node-version-file: '.nvmrc'

- name: Install dependencies
run: yarn
run: yarn install --frozen-lockfile

- name: Parse Extension Name
if: github.ref_type == 'tag' || inputs.is_test == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-extensions-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
- name: Install Dependencies
if: ${{ matrix.folder != '_skip_' }}
shell: bash
run: yarn install
run: yarn install --frozen-lockfile

- name: "Build extension: ${{ matrix.folder }}"
if: ${{ matrix.folder != '_skip_' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-pr-build-extension-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
node-version-file: '.nvmrc'

- name: Install dependencies
run: yarn
run: yarn install --frozen-lockfile

- name: Parse Extension Name
if: github.ref_type == 'tag'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rancher-components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
node-version-file: '.nvmrc'

- name: Install packages
run: yarn install
run: yarn install --frozen-lockfile

- name: Verify build
run: yarn build:lib
Expand All @@ -34,7 +34,7 @@ jobs:
node-version-file: '.nvmrc'

- name: Install packages
run: yarn install
run: yarn install --frozen-lockfile

- name: Run linters
run: yarn lint:lib
6 changes: 3 additions & 3 deletions .github/workflows/scripts/test-extensions-creators-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ validate_tagged_extension_creator() {
cd ${SKELETON_APP_NAME}

# install dependencies
yarn install
yarn install --frozen-lockfile

# test build of pkg inside skeleton app
yarn build-pkg ${SKELETON_APP_NAME} | cat
Expand Down Expand Up @@ -70,7 +70,7 @@ validate_tagged_extension_creator() {
rm -rf node_modules
rm -rf yarn.lock

yarn install
yarn install --frozen-lockfile

cat package.json

Expand All @@ -93,7 +93,7 @@ validate_tagged_extension_creator() {
rm -rf node_modules
rm -rf yarn.lock

yarn install
yarn install --frozen-lockfile

yarn build-pkg ${SKELETON_APP_NAME} | cat
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/storybook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
node-version-file: '.nvmrc'
- name: Install packages
run: yarn install
run: yarn install --frozen-lockfile
- name: Build Storybook
run: |
yarn build-storybook
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-cloud-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
node-version-file: '.nvmrc'
- name: Install Node Module
run: yarn install
run: yarn install --frozen-lockfile
- name: Update Cloud Data
env:
GH_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 @@ -53,7 +53,7 @@
"storybook": "cd storybook && yarn storybook",
"build-storybook": "cd storybook && yarn install --frozen-lockfile && NODE_OPTIONS=--max_old_space_size=4096 yarn build-storybook --quiet",
"storybook-test": "cd storybook && yarn test-storybook --stories-json ",
"docs:install": "cd docusaurus/ && yarn install",
"docs:install": "cd docusaurus/ && yarn install --frozen-lockfile",
"docs:build": "cd docusaurus/ && yarn build",
"docs:start": "cd docusaurus/ && yarn start",
"docs:serve": "cd docusaurus/ && yarn serve",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-e2e
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ OUTPUT_DIR="${E2E_BUILD_DIST_DIR:-dist}"

if [ "$BUILD_DASHBOARD" == "true" ]; then
echo "Building production build for e2e ..."
yarn --pure-lockfile install
yarn install --frozen-lockfile

source scripts/version
echo "BRANCH: ${COMMIT_BRANCH:-<none>}"
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-embedded
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fi
cd $(dirname $0)/..

echo "Bootstrapping..."
yarn --pure-lockfile install
yarn install --frozen-lockfile

source scripts/version
echo "BRANCH: ${COMMIT_BRANCH:-<none>}"
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-hosted
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
cd $(dirname $0)/..

echo "Bootstrapping..."
yarn --pure-lockfile install
yarn install --frozen-lockfile

source scripts/version
echo "BRANCH: ${COMMIT_BRANCH:-<none>}"
Expand Down
4 changes: 2 additions & 2 deletions scripts/standalone/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ cp ${DIR}/shell/server/server.* ./cert

if [ ! -d "${DIR}/dist/" ]; then
pushd ${DIR}
yarn install
yarn install --frozen-lockfile
yarn build
popd
fi

if [ ! -d "node_modules" ]; then
yarn install --no-lockfile
yarn install --frozen-lockfile
fi

rm -rf ui
Expand Down
8 changes: 4 additions & 4 deletions shell/scripts/test-plugins-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ createTestComponent() {

# Publish shell pkg (tag is needed as publish-shell is optimized to work with release-shell-pkg workflow)
echo "Publishing Shell package to local registry"
yarn install
yarn install --frozen-lockfile
export TAG="shell-pkg-v${SHELL_VERSION}"
${SHELL_DIR}/scripts/publish-shell.sh

Expand Down Expand Up @@ -139,7 +139,7 @@ if [ "${SKIP_STANDALONE}" == "false" ]; then

pushd test-app > /dev/null

yarn install
yarn install --frozen-lockfile
# this is the "same" as doing a yarn dev (in a build sense)
# it's to make sure the dev environment is running properly
FORCE_COLOR=true yarn build | cat
Expand All @@ -165,7 +165,7 @@ pushd $BASE_DIR
# Now try a plugin within the dashboard codebase
echo "Validating in-tree package"

yarn install
yarn install --frozen-lockfile

if [ "${TEST_PERSIST_BUILD}" != "true" ]; then
echo "Removing folder ./pkg/test-pkg"
Expand Down Expand Up @@ -202,7 +202,7 @@ function clone_repo_test_extension_build() {
pushd ${BASE_DIR}/$REPO_NAME

echo -e "\nInstalling dependencies for $REPO_NAME\n"
yarn install
yarn install --frozen-lockfile

# set registry to local verdaccio (to install new shell)
yarn config set registry ${VERDACCIO_NPM_REGISTRY}
Expand Down
Loading