chore(deps-dev): Bump @typescript-eslint/eslint-plugin (#29) #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
with: | |
token: ${{ secrets.PAT }} | |
ref: ${{ github.ref_name }} | |
- name: Setup Node.js 20.x | |
uses: actions/[email protected] | |
with: | |
node-version: 20.x | |
- name: Deps | |
run: | | |
npm ci | |
- name: Package | |
run: | | |
npm run build | |
npm run package | |
- 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 |