Skip to content

chore(deps): bump actions/checkout from 4.3.1 to 6.0.2 #5

chore(deps): bump actions/checkout from 4.3.1 to 6.0.2

chore(deps): bump actions/checkout from 4.3.1 to 6.0.2 #5

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Build
run: |
npm run bundle
file build/ui-bundle.zip
ls -l build/ui-bundle.zip
- name: Release
if: github.ref == 'refs/heads/master'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release delete latest --yes --cleanup-tag 2>/dev/null || true
gh release create latest build/ui-bundle.zip \
--title "latest" \
--notes "Latest build, automatically updated on every push to master."