Skip to content

Adding managed-identity support for Azure #206

Adding managed-identity support for Azure

Adding managed-identity support for Azure #206

Workflow file for this run

name: PR
on:
pull_request:
branches: [trunk]
types: [opened, synchronize, reopened]
paths-ignore:
- 'microsite/**'
jobs:
lint-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Ignore draft pull requests
if: github.event.pull_request.draft
run: exit
- name: setup node 18
uses: actions/setup-node@v3
with:
node-version: '18'
# Cache every node_modules folder inside the monorepo
- name: cache all node_modules
id: cache-modules
uses: actions/cache@v3
with:
path: '**/node_modules'
# We use both yarn.lock and package.json as cache keys to ensure that changes to local monorepo packages bust the cache.
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
- name: find location of global yarn cache
id: yarn-cache
if: steps.cache-modules.outputs.cache-hit != 'true'
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: cache global yarn cache
uses: actions/cache@v3
if: steps.cache-modules.outputs.cache-hit != 'true'
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn install
if: steps.cache-modules.outputs.cache-hit != 'true'
run: yarn
- name: lint
run: yarn lint
- name: test and upload coverage
run: yarn test