Skip to content

Commit

Permalink
ci: use github
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Jan 21, 2025
1 parent 960cc3e commit 4bd16b0
Show file tree
Hide file tree
Showing 5 changed files with 6,095 additions and 121 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publish Package
on:
workflow_dispatch:
push:
tags:
- "*"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org
- name: Setup Python 3
uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: npm ci
env:
npm_config_disturl: https://electronjs.org/headers
npm_config_target: 32.1.2
npm_config_runtime: electron
npm_config_build_from_source: true
- run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8 changes: 8 additions & 0 deletions .release-it.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
git:
commitMessage: v${version}
tagName: v${version}
tagAnnotation: Release version ${version}
requireCleanWorkingDir: false
npm:
publish: false
disable-metrics: true
95 changes: 0 additions & 95 deletions azure-pipelines.yml

This file was deleted.

Loading

0 comments on commit 4bd16b0

Please sign in to comment.