Check for Platform Deprecations in Apps #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check for Platform Deprecations in Apps | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 20 * *' | |
jobs: | |
check-for-deprecations: | |
name: Check for Deprecated Messages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- name: Install dependencies | |
run: cd utils && yarn install | |
- name: Validate files | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NR_QUERY_KEY: ${{ secrets.NR_QUERY_KEY }} | |
NR_ACCOUNT_ID: ${{ secrets.NR_ACCOUNT_ID }} | |
run: cd utils && yarn check-for-deprecations |