Skip to content

Commit

Permalink
build assets before storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
dvaldivia committed Jan 8, 2024
1 parent 97bb122 commit 278de35
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deployer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,23 @@ jobs:
id: node_version
run: echo "$(cat .nvmrc)" && echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NVMRC }}
cache: "yarn"
cache-dependency-path: yarn.lock

- name: Install Dependencies
continue-on-error: false
run: |
yarn set version stable
yarn install
# - name: Install Dependencies
# continue-on-error: false
# run: |
# yarn install

- name: Log in to private Docker registry
run: echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login ${{ secrets.REGISTRY_URL }} -u ${{ secrets.REGISTRY_USERNAME }} --password-stdin

- name: Build Storybook
run: |
yarn build
yarn build-storybook
docker buildx build --platform linux/amd64 --push -t registry.min.dev/minio/mds .
echo "${{ secrets.MDS_DEPLOYER_KUBECONFIG }}" > /tmp/kubecconfig
Expand Down

0 comments on commit 278de35

Please sign in to comment.