Skip to content

Remove -file as we dont pass a node version file to be used but we u… #3

Remove -file as we dont pass a node version file to be used but we u…

Remove -file as we dont pass a node version file to be used but we u… #3

name: Build backstage app, image and push it
on:
push:
branches:
- main
tags-ignore:
- v*
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Setup local Turbo cache
uses: dtinth/setup-github-actions-caching-for-turbo@v1
- name: Install dependencies
run: yarn --prefer-offline --frozen-lockfile
- name: Build backstage
run: |
yarn build:all
- name: Build container image
run: |
yarn build-image -t backstage-qshift