Skip to content

use string key instead of id #11

use string key instead of id

use string key instead of id #11

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
branches: [ "main" ]
paths:
- "src/**"
- "**.json"
- "**.toml"
- ".github/workflows/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: "npm"
- name: Build and Prepare
run: |
npm ci
npx webpack
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "crowdis-builderman[bot]"
git commit -m "ci: automated build" dist/crowdis.js
- name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
force: true