mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
* comment on PR after validation run. * bork my url for sample output * populate GITHUB_TOKEN in action * more verbose logging * more logging * fix wrong import * logging * remove logging & implementation attempt * log out comment creation query output * styling * prettify comments + increase logging * more prettifying of the text * Revert "bork my url for sample output" This reverts commit 0c6d17450e753cd407db69a8129bf0cbc5831b88. * add data change to trigger GH action * improve messages... * change my URL so it appears in the message * more formatting of comments * move + rename commentPullRequest -> utils.communicateValationOutcome
31 lines
664 B
YAML
31 lines
664 B
YAML
name: Validate data.js
|
|
|
|
on:
|
|
pull_request:
|
|
paths: src/data.js
|
|
|
|
env:
|
|
CI: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 13.x
|
|
|
|
- name: Cache/Restore node modules
|
|
uses: actions/cache@v1
|
|
with:
|
|
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
|
|
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}
|
|
|
|
- name: Install Dependencies
|
|
run: npm install
|
|
|
|
- name: Validate data.js
|
|
run: node ./scripts/data-validate.js
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|