Refactor search functionality in Header component to use a dedicated … #54
Workflow file for this run
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
name: Check pull request | |
on: | |
push: | |
branches-ignore: | |
- main | |
env: | |
NAME: console-frontend | |
IMAGE_REPOSITORY: oci://europe-north1-docker.pkg.dev/nais-io/nais | |
jobs: | |
check: | |
name: Lint and check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: npm install | |
run: |- | |
npm install --ci | |
npx svelte-kit sync | |
- name: npm run check | |
run: npm run check | |
- name: npm run lint | |
run: npm run lint | |
- name: npm run build | |
run: npm run build | |
- name: helm lint | |
run: helm lint --strict ./charts | |
build_push: | |
permissions: | |
contents: 'read' | |
id-token: 'write' | |
name: Build and push | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nais/platform-build-push-sign@main | |
id: build-push-sign | |
with: | |
name: ${{ env.NAME }} | |
google_service_account: gh-${{ env.NAME }} | |
workload_identity_provider: ${{ secrets.NAIS_IO_WORKLOAD_IDENTITY_PROVIDER }} | |
push: true | |
- uses: azure/setup-helm@v4 | |
name: 'Setup Helm' | |
with: | |
version: '3.8.0' | |
- name: Build Chart | |
run: |- | |
sed -i "s/^version: .*/version: ${{ steps.build-push-sign.outputs.version }}/g" charts/Chart.yaml | |
cat charts/Chart.yaml | |
helm package charts | |
- name: Push Chart | |
run: |- | |
helm push ${{ env.NAME }}*.tgz ${{ env.IMAGE_REPOSITORY }} |