mirror of
https://github.com/Xevion/research-multipliers.git
synced 2025-12-06 01:16:02 -06:00
Add release script (disabled)
This commit is contained in:
33
.github/workflows/release.yaml
vendored
Normal file
33
.github/workflows/release.yaml
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
name: Release
|
||||
|
||||
permissions: write-all
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main # Change to the correct one upon release, master
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts/*
|
||||
|
||||
- name: Install release dependencies
|
||||
run: |
|
||||
npm install semantic-release@^24 \
|
||||
@semantic-release/git@^10 semantic-release-factorio@^1.5.1 \
|
||||
conventional-changelog-conventionalcommits@^8
|
||||
|
||||
- name: Run semantic-release
|
||||
run: npx semantic-release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
FACTORIO_TOKEN: ${{ secrets.FACTORIO_TOKEN }}
|
||||
Reference in New Issue
Block a user