Skip to content

v2.7.0

v2.7.0 #12

Workflow file for this run

name: Deploy_To_Azure_Blobs_Prod
on:
release:
types: [published]
env:
STORAGE_ACCOUNT_NAME: savalidatorwebvueprod # sa<appname><environment>
STORAGE_ACCOUNT_KEY: ${{ secrets.PROD_STORAGE_KEY }}
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3.5.1
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install dependencies
run: |
npm install
- name: Run build
run: |
npm run build:production
- name: Upload to blob storage
uses: azure/CLI@v1
with:
azcliversion: 2.34.0
inlineScript: |
az storage blob upload-batch \
--overwrite true \
--account-name ${{ env.STORAGE_ACCOUNT_NAME }} \
--account-key ${{ env.STORAGE_ACCOUNT_KEY }} \
-d '$web' \
-s dist/
integration-test:
needs: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cypress CI Run
uses: cypress-io/github-action@v6
with:
wait-on: 'https://validator.iatistandard.org'
config-file: cypress.config.prod.js