Skip to content

Merge branch 'main' of https://github.com/capacitor-community/electron #4

Merge branch 'main' of https://github.com/capacitor-community/electron

Merge branch 'main' of https://github.com/capacitor-community/electron #4

Workflow file for this run

name: Release to NPM Latest
on:
push:
branches:
- main
permissions:
contents: write
id-token: write
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: 'Setup Tools'
uses: ./.github/actions/setup-tools
- name: Build package
run: pnpm run build
- name: "NPM Identity"
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" >> ~/.npmrc
npm whoami
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
run: pnpm run shipit