npm publishing

This commit is contained in:
avscs
2025-05-11 10:27:36 -04:00
committed by avsc-sid
parent 2b0f983ba7
commit 4417ba8ba8
4 changed files with 80 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
name: Publish to NPM
on:
push:
branches: ['main']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Setup Node
uses: actions/setup-node@v3.9.1
with:
node-version: 'lts'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies and build 🔧
run: npm ci && npm run build
- name: Publish package on NPM 📦
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+1
View File
@@ -0,0 +1 @@
.git/
+13
View File
@@ -0,0 +1,13 @@
{
"name": "monkeygg2",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "monkeygg2",
"version": "1.0.0",
"license": "WTFPL"
}
}
}
+45
View File
@@ -0,0 +1,45 @@
{
"name": "monkeygg2",
"version": "1.0.0",
"description": "Your Friendly Neighborhood Games Site",
"keywords": [
"games",
"flash",
"gaming",
"proxy",
"html5-games",
"gaming-website",
"flash-games",
"unblocked",
"unblocked-games",
"school-proxy",
"school-hacks",
"monkeygg2",
"violetgg2"
],
"homepage": "https://github.com/MonkeyGG2/monkeygg2.github.io#readme",
"bugs": {
"url": "https://github.com/MonkeyGG2/monkeygg2.github.io/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MonkeyGG2/monkeygg2.github.io.git"
},
"license": "WTFPL",
"author": "avscs",
"files": [
"README.md",
"404.html",
"config.jsonc",
"favicon.ico",
"index.html",
"jsconfig.json",
"LICENSE",
"package.json",
"css",
"fonts",
"games",
"imgs",
"js"
]
}