修正目录 #41
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: Build and Test | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: 10.15.1 | |
- run: npm install -g bats | |
- run: bats -v | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
name: 'my-blog' | |
path: '_site' | |