Skip to content

Merge pull request #2785 from bcameron1231/fix-2777 #859

Merge pull request #2785 from bcameron1231/fix-2777

Merge pull request #2785 from bcameron1231/fix-2777 #859

Workflow file for this run

name: Merge Testing
on: push
env:
PNPTESTING_MSAL_GRAPH_CONFIG: ${{ secrets.PNPTESTING_MSAL_GRAPH_CONFIG }}
PNPTESTING_MSAL_GRAPH_SCOPES: ${{ secrets.PNPTESTING_MSAL_GRAPH_SCOPES }}
PNPTESTING_MSAL_SP_CONFIG: ${{ secrets.PNPTESTING_MSAL_SP_CONFIG }}
PNPTESTING_MSAL_SP_SCOPES: ${{ secrets.PNPTESTING_MSAL_SP_SCOPES }}
PNPTESTING_NOTIFICATIONURL: ${{ secrets.PNPTESTING_NOTIFICATIONURL }}
PNPTESTING_SITEURL: ${{ secrets.PNPTESTING_SITEURL }}
jobs:
run_push_tests:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# setup nodejs
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
cache-dependency-path: package-lock.json
# Run the npm install
- run: npm ci
- name: Run lint
run: npm run lint
- name: Run package
run: npm run package
- name: Run tests
run: npm test -- --mode push --cleanup --msal