fix: remove references to nonexistent static/yarn.lock

File was removed in #11903. Also remove publishing script
that has been unused for some time
This commit is contained in:
Gabriel Horner
2025-07-08 09:24:22 -04:00
parent f736895b1b
commit 623618a04b
4 changed files with 2 additions and 22 deletions

View File

@@ -45,9 +45,7 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'yarn'
cache-dependency-path: |
yarn.lock
static/yarn.lock
cache-dependency-path: yarn.lock
- name: Set up Java
uses: actions/setup-java@v3

1
.gitignore vendored
View File

@@ -14,7 +14,6 @@ pom.xml.asc
node_modules/
static/**
!static/yarn.lock
tmp
cljs-test-runner-out

View File

@@ -52,7 +52,7 @@ const css = {
const common = {
clean () {
return del(
['./static/**/*', '!./static/yarn.lock', '!./static/node_modules'])
['./static/**/*', '!./static/node_modules'])
},
syncResourceFile () {

View File

@@ -1,17 +0,0 @@
#!/bin/sh
yarn clean && yarn release-publishing
/usr/bin/rm -rf /tmp/publishing
mkdir /tmp/publishing
cp -R ./static /tmp/publishing/
cp ./static/404.html /tmp/publishing/
/usr/bin/rm -rf /tmp/publishing/static/node_modules/
/usr/bin/rm /tmp/publishing/static/electron*
/usr/bin/rm /tmp/publishing/static/forge.config.js
/usr/bin/rm /tmp/publishing/static/package.json
/usr/bin/rm /tmp/publishing/static/yarn.lock
/usr/bin/rm /tmp/publishing/static/index.html
/usr/bin/rm /tmp/publishing/static/404.html
/usr/bin/rm /tmp/publishing/static/public.css
cd /tmp/publishing/
mv ./static/js/publishing/code-editor.js ./static/js/
tar -zcvf /tmp/logseq_publishing.tar.gz ./