chore: format project automatically before starting dev server
This commit is contained in:
+26
-26
@@ -1,34 +1,34 @@
|
||||
name: Runner Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
workflow_dispatch: # lets you trigger it manually from the UI too
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch: # lets you trigger it manually from the UI too
|
||||
|
||||
jobs:
|
||||
hello:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
hello:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Print basic info
|
||||
run: |
|
||||
echo "✅ Runner is working!"
|
||||
echo "Hostname: $(hostname)"
|
||||
echo "Date: $(date)"
|
||||
echo "User: $(whoami)"
|
||||
pwd
|
||||
ls -la
|
||||
- name: Print basic info
|
||||
run: |
|
||||
echo "✅ Runner is working!"
|
||||
echo "Hostname: $(hostname)"
|
||||
echo "Date: $(date)"
|
||||
echo "User: $(whoami)"
|
||||
pwd
|
||||
ls -la
|
||||
|
||||
- name: Test env variables
|
||||
run: |
|
||||
echo "Branch: ${{ github.ref_name }}"
|
||||
echo "Commit SHA: ${{ github.sha }}"
|
||||
echo "Actor: ${{ github.actor }}"
|
||||
- name: Test env variables
|
||||
run: |
|
||||
echo "Branch: ${{ github.ref_name }}"
|
||||
echo "Commit SHA: ${{ github.sha }}"
|
||||
echo "Actor: ${{ github.actor }}"
|
||||
|
||||
- name: Simulate a build step
|
||||
run: |
|
||||
mkdir -p build
|
||||
echo "Build artifact content" > build/output.txt
|
||||
cat build/output.txt
|
||||
- name: Simulate a build step
|
||||
run: |
|
||||
mkdir -p build
|
||||
echo "Build artifact content" > build/output.txt
|
||||
cat build/output.txt
|
||||
|
||||
Reference in New Issue
Block a user