forked from pnp/pnpjs
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (28 loc) · 969 Bytes
/
push.yaml
File metadata and controls
28 lines (28 loc) · 969 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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:
- uses: actions/checkout@v2
# setup nodejs
- name: Use Node.js 16
uses: actions/setup-node@v1
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
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