empty commit to test workflow #3
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: Events Demo 1 | |
on: | |
# we want this event to fire of when pull requests | |
# are opened | |
pull_request: | |
# we also want to add a manual event | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Output event data | |
run: echo "${{ toJson(github.event) }}" | |
- name: Get code | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm ci | |
- name: Test code | |
run: npm run test | |
- name: Build code | |
run: npm run build | |
- name: Deploy project | |
run: echo "Deploying..." |