name: Build Site on: push: branches: - main jobs: Build-Site: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Use Node.js uses: actions/setup-node@v3 with: node-version: '16.x' - run: npm install - run: npm run build