Skip to content

Commit

Permalink
Create v4_merge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-rodgers authored Feb 27, 2024
1 parent a41cecd commit 38be3d5
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/v4_merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Merge Testing
on:
push:
branches:
- version-4
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
with:
ref: version-4
# setup nodejs
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
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

0 comments on commit 38be3d5

Please sign in to comment.