chor: CI/CD実行環境をGithubに変更
All checks were successful
Release / build (push) Successful in 31s

This commit is contained in:
2024-10-19 02:28:53 +09:00
parent 89ea0d02d9
commit 2d124df653
2 changed files with 33 additions and 23 deletions

33
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: Release
on:
push:
branches:
- main
schedule:
- cron: "0 0 * * *"
env:
NPM_USER: ${{ secrets.NPM_USER }}
NPM_PASS: ${{ secrets.NPM_PASS }}
NPM_REGISTRY: ${{ vars.NPM_REGISTRY }}
jobs:
build:
runs-on: win-x64
container:
image: alpine:latest
steps:
- name: Add packages
run: apk add git nodejs
- name: Checkout repository
uses: actions/checkout@v3
- name: Run Go release script
run: |
chmod +x ./.devcontainer/initialize.sh
./.devcontainer/initialize.sh
go run ./release.go