Skip to content

Commit

Permalink
ci updates
Browse files Browse the repository at this point in the history
Signed-off-by: Kial Jinnah <kialj876@gmail.com>
  • Loading branch information
kialj876 committed Jun 4, 2024
1 parent 5b7f41c commit 1ab666d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,17 @@ on:
push:
branches:
- main
paths:
- "/**"
workflow_dispatch:
inputs:
environment:
description: "Environment"
required: true
type: choice
options:
- dev
- test
- sandbox
- prod
- dev
- test
- sandbox
- prod
tagname:
description: "Specify a previous version (git tag) to deploy"
required: false
Expand All @@ -25,8 +23,8 @@ on:
jobs:
bus-dash-ui-cd:
permissions:
contents: 'write'
id-token: 'write'
contents: "write"
id-token: "write"
uses: bcgov/bcregistry-sre/.github/workflows/ui-cd-pnpm.yaml@main
with:
environment: ${{ inputs.environment }}
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: Business Dash CI
on:
pull_request:
types: [assigned, synchronize]
paths:
- "/**"


defaults:
run:
Expand Down Expand Up @@ -72,11 +69,11 @@ jobs:
cypress-test:
needs: setup-job
runs-on: ubuntu-20.04

strategy:
matrix:
node-version: [20]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -108,7 +105,7 @@ jobs:
strategy:
matrix:
node-version: [20]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -124,4 +121,3 @@ jobs:

- name: Build check
run: pnpm build

0 comments on commit 1ab666d

Please sign in to comment.