Create keep-alive.yaml #6
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: hello-world | |
on: push | |
jobs: | |
test-job: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Hello world step | |
run: echo "🐧 Hello World!" | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: List files in the repository | |
run: | | |
ls ${{ github.workspace }} | |
- run: echo "🍏 This job's status is ${{ job.status }}." | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- name: Install dependencies | |
run: npm ci | |
- name: Build with Next.js | |
run: npm run build | |