Just one of the things I'm learning. https://github.com/hchiam/learning
Testing out markdown-link-check
on this repo:
mkdir .github && mkdir .github/workflows && touch .github/workflows/action.yml
Then edit action.yml
When you push, you'll see results here: https://github.com/hchiam/learning-github-actions/actions
Intentionally broken link: https://github.com/hchiam/learning-github-actions/actionsy
Successfully detected broken link in README.md
!
https://docs.github.com/en/actions/quickstart
https://github.com/marketplace/actions/cypress-io
All you have to do is add a .github/workflows/some_file_name.yml
file to your GitHub repo! For example:
name: GitHub Actions Demo
on:
pull_request:
types: [review_requested]
jobs:
Example-GitHub-Action-Name:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2 # this will use https://github.com/actions/checkout
# - run: npm run some-script
- name: Cypress run
uses: cypress-io/github-action@v2 # this will use https://github.com/cypress-io/github-action
on: [push, pull_request]