mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-01-16 22:56:28 +00:00
Update node in actions and rebuild
This commit is contained in:
parent
2646c89cd5
commit
bad0c3f219
4
.github/workflows/neocities.yml
vendored
4
.github/workflows/neocities.yml
vendored
@ -8,7 +8,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 1
|
FORCE_COLOR: 1
|
||||||
node_version: 16
|
node_version: lts/*
|
||||||
|
|
||||||
concurrency: # prevent concurrent deploys doing strange things
|
concurrency: # prevent concurrent deploys doing strange things
|
||||||
group: deploy-to-neocities
|
group: deploy-to-neocities
|
||||||
@ -23,7 +23,7 @@ jobs:
|
|||||||
# Set up any tools and build steps here
|
# Set up any tools and build steps here
|
||||||
# This example uses a Node.js toolchain to build a site
|
# This example uses a Node.js toolchain to build a site
|
||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.node_version }}
|
node-version: ${{ env.node_version }}
|
||||||
- run: npm i
|
- run: npm i
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -8,7 +8,7 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
node_version: 16
|
node_version: lts/*
|
||||||
FORCE_COLOR: 1
|
FORCE_COLOR: 1
|
||||||
|
|
||||||
concurrency: # prevent concurrent releases
|
concurrency: # prevent concurrent releases
|
||||||
|
|||||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
node: [16]
|
node: [lts/*]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
1514
dist/index.js
vendored
1514
dist/index.js
vendored
File diff suppressed because it is too large
Load Diff
8
dist/index.js.map
vendored
8
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@ -15,9 +15,8 @@
|
|||||||
"webassert": "3.0.2"
|
"webassert": "3.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@siteup/cli": "^5.0.0",
|
"top-bun": "^7.0.0",
|
||||||
"auto-changelog": "^2.0.0",
|
"auto-changelog": "^2.0.0",
|
||||||
"browser-sync": "^2.27.7",
|
|
||||||
"dependency-check": "^4.1.0",
|
"dependency-check": "^4.1.0",
|
||||||
"gh-release": "^7.0.0",
|
"gh-release": "^7.0.0",
|
||||||
"npm-run-all2": "^6.0.0",
|
"npm-run-all2": "^6.0.0",
|
||||||
@ -36,7 +35,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm run clean && run-p build:*",
|
"build": "npm run clean && run-p build:*",
|
||||||
"build:action": "rm -rf dist && esbuild index.js --bundle --platform=node --target=node16 --sourcemap=external --outdir=dist",
|
"build:action": "rm -rf dist && esbuild index.js --bundle --platform=node --target=node16 --sourcemap=external --outdir=dist",
|
||||||
"build:site": "siteup --src . --dest public",
|
"build:site": "tb --src . --dest public",
|
||||||
"clean": "rm -rf public && mkdir -p public",
|
"clean": "rm -rf public && mkdir -p public",
|
||||||
"release": "git push --follow-tags && gh-release -y",
|
"release": "git push --follow-tags && gh-release -y",
|
||||||
"start": "npm run watch",
|
"start": "npm run watch",
|
||||||
@ -47,7 +46,6 @@
|
|||||||
"version:build": "npm run build:action && git add dist",
|
"version:build": "npm run build:action && git add dist",
|
||||||
"version:changelog": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md",
|
"version:changelog": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md",
|
||||||
"watch": "npm run clean && run-p watch:*",
|
"watch": "npm run clean && run-p watch:*",
|
||||||
"watch:serve": "browser-sync start --server 'public' --files 'public'",
|
|
||||||
"watch:site": "npm run build:site -- -w"
|
"watch:site": "npm run build:site -- -w"
|
||||||
},
|
},
|
||||||
"standard": {
|
"standard": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user