mirror of
https://github.com/LukeHagar/stats-action.git
synced 2025-12-06 04:21:26 +00:00
37 lines
731 B
YAML
37 lines
731 B
YAML
name: GitHub Actions Demo
|
|
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
Test-GitHub-Actions:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v2
|
|
with:
|
|
node-version: "20"
|
|
|
|
- name: Run install
|
|
uses: borales/actions-yarn@v5
|
|
with:
|
|
cmd: install
|
|
|
|
- name: Run build
|
|
uses: borales/actions-yarn@v5
|
|
with:
|
|
cmd: build
|
|
|
|
- uses: ./
|
|
with:
|
|
username: lukehagar
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
|
# with:
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v5
|