Skip to content

test remove canvas

test remove canvas #65

Workflow file for this run

on:
push
jobs:
build:
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@main
with:
persist-credentials: false
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js environment
uses: actions/setup-node@main
with:
node-version: 20
cache: 'pnpm'
- name: Install Node modules
run: pnpm install
- name: Build dist
run: pnpm build
- name: Commit file
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git commit -m "Build index.js"
- name: Push change
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
force: true
steam-to-readme-job:
needs: build
runs-on: windows-2019
name: Write steam svg
steps:
- name: Checkout
uses: actions/checkout@main
with:
ref: ${{ github.ref }}
persist-credentials: false
fetch-depth: 0
- name: Get info from steam and write new readme
uses: beam41/steam-top-svg@main
with:
rawBasePath: https://raw.githubusercontent.com/beam41/steam-top-svg/main/
apiKey: ${{ secrets.STEAM_KEY }}
steamId: '76561198062644260'
- name: Commit file
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git commit -m "Update Steam data to readme"
- name: Push change
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}