This repository has been archived by the owner on Mar 29, 2024. It is now read-only.
chore(deps): bump actions/setup-node from 3.7.0 to 3.8.1 #403
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
merge_group: | |
jobs: | |
continuous-integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: ./ | |
with: | |
checkout: false | |
build: false | |
checks: true | |
code-ql: false | |
test: false | |
coverage: false | |
publish: | |
needs: continuous-integration | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
runs-on: ubuntu-latest | |
environment: github-pages | |
steps: | |
- uses: actions/[email protected] | |
- uses: ./ | |
with: | |
build: false | |
checkout: '{ "token": "${{ secrets.GH_PRIVATE_ACCESS_TOKEN }}" }' | |
- name: 📖 Generate README | |
uses: bitflight-devops/[email protected] | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "chore: prepare release" | |
file_pattern: README.md | |
commit_user_name: ${{ github.actor }} | |
commit_author: ${{ github.actor }}@users.noreply.github.com | |
- name: 🔖 Prepare publish | |
run: | | |
mkdir -p /tmp/publish | |
echo "theme: jekyll-theme-cayman" > /tmp/publish/_config.yml | |
cp README.md /tmp/publish/index.md | |
- name: 🌐 Publish Github pages | |
uses: peaceiris/[email protected] | |
with: | |
enable_jekyll: true | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: /tmp/publish | |
user_name: ${{ github.actor }} | |
user_email: ${{ github.actor }}@users.noreply.github.com |