Skip to content

Security hardening: allowlist config keys, pin CI SHAs, clarify READM… #6

Security hardening: allowlist config keys, pin CI SHAs, clarify READM…

Security hardening: allowlist config keys, pin CI SHAs, clarify READM… #6

Workflow file for this run

name: Build and Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Compile JSX
run: npx babel app.jsx --out-file app.js --presets=@babel/preset-react
- name: Build and publish
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CSC_IDENTITY_AUTO_DISCOVERY: false
run: npx electron-builder --win --publish always