TIL, 2021-11-28, Github actions fun times
Github actions
- Literally just done with creating a YAML file
.github/workflows/ANY_NAME.yml
. - Events: Reference
- Things to think about:
- Workflow: Reference
name: Run dangefile
on: [push]
jobs:
danger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
registry-url: 'https://npm.pkg.github.com'
- run: npm install yarn
env:
NODE_AUTH_TOKEN: $
- run: DANGER_TEST_PR='2743' npm run danger ci
env:
DANGER_FAKE_CI: YEP
DANGER_TEST_REPO: kaligo/e2e-rewards-dashboard
DANGER_GITHUB_API_TOKEN: $