Skip to content

Remove.

Remove. #1

Workflow file for this run

name: Package Action
on:
push:
branches:
- main
paths-ignore:
- 'dist/**'
workflow_dispatch:
jobs:
package:
name: Package dist files
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
env:
# Output logs to file in case we need to inspect errors.
GITSIGN_LOG: "/tmp/gitsign.log"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js 20.x
uses: actions/[email protected]
with:
node-version: 20.x
- name: Deps
run: |
npm ci
- name: Lint
run: |
npm run lint
- name: Package
run: |
npm run build
npm run package
# TODO(dhaus): Configure secrets in repository to enable pushing the dist.
# - uses: chainguard-dev/actions/setup-gitsign@main
# - name: Commit Dist
# run: |
# git config --global user.email "[email protected]"
# git config --global user.name "Robot Rox"
# git add dist
# git commit -m "chore: Update dist" || echo "No changes to commit."
# git push origin