chore: update app release actions and install fusion-framework-cli #2
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: Deploy portal-administration CI | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- "client/apps/portal-administration/**" | |
permissions: | |
actions: read | |
checks: write | |
contents: read | |
deployments: write | |
id-token: write | |
jobs: | |
build: | |
environment: non-prod | |
name: Deploy | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Get fusion token | |
id: "get-fusion-token" | |
uses: ./.github/actions/get-fusion-token | |
with: | |
client-id: ${{secrets.AZURE_SP_FUSION}} | |
tenant-id: ${{secrets.AZURE_TENANT_ID}} | |
resource-id: ${{secrets.AZURE_FUSION_SCOPE}} | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "21" | |
- name: Install Global | |
run: | | |
cd client | |
yarn install | |
- name: Install | |
run: | | |
cd client/apps/portal-administration | |
yarn install | |
npm i -g @equinor/fusion-framework-cli | |
- name: Deploy | |
run: | | |
cd client/apps/portal-administration | |
fusion-framework-cli app build-publish -e ci |