Skip to content

add vars.var.

add vars.var. #8

Workflow file for this run

name: Test
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
test_action:
runs-on: ubuntu-22.04
name: Test Action
environment: CoA
steps:
- name: Checkout Code
uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install Dependencies
run: npm install
- name: Test Compile
run: |
npm i -g @vercel/ncc
ncc build index.js --license licenses.txt
- name: Test Run
env:
INPUT_AZURE_STORAGE_ACCOUNT_NAME: ${{ vars.AZURE_STORAGE_ACCOUNT_NAME }}
INPUT_AZURE_STORAGE_CONTAINER_NAME: ${{ vars.AZURE_STORAGE_CONTAINER_NAME }}
INPUT_AZURE_STORAGE_INPUTS_CONTAINER_NAME: ${{ vars.AZURE_STORAGE_INPUTS_CONTAINER_NAME }}
INPUT_AZURE_STORAGE_BLOB_NAME: ${{ vars.AZURE_STORAGE_BLOB_NAME }}
run: |
node tests/test.js