chore: cicd installed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
Details
parent
f16528a231
commit
6db3e3226e
|
|
@ -0,0 +1,19 @@
|
||||||
|
name: Gitea Actions Demo
|
||||||
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Explore-Gitea-Actions:
|
||||||
|
runs-on: node-01
|
||||||
|
steps:
|
||||||
|
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||||
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||||
|
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
|
- name: List files in the repository
|
||||||
|
run: |
|
||||||
|
ls ${{ gitea.workspace }}
|
||||||
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
|
|
@ -0,0 +1,37 @@
|
||||||
|
name: Release Job
|
||||||
|
run-name: ${{gitea.actor}} is releasing a package
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: node-01
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Set up Node.js
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: '18' # Specify the Node.js version you need
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm install
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: npm test
|
||||||
|
|
||||||
|
- name: Build project
|
||||||
|
run: npm run build
|
||||||
|
|
||||||
|
- name: Package build output
|
||||||
|
run: |
|
||||||
|
cd ./dist
|
||||||
|
zip -r release.zip . # Adjust the path to your build output directory
|
||||||
|
mv release.zip /tmp/release.zip
|
||||||
|
- name: Package Upload
|
||||||
|
uses: akkuman/gitea-release-action@v1
|
||||||
|
with:
|
||||||
|
server_url: https://git.macniel.online
|
||||||
|
files: /tmp/release.zip
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
name: Release Job
|
|
||||||
run-name: ${{gitea.actor}} is releasing a package
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: node-01
|
|
||||||
steps:
|
|
||||||
- name: "testing sources"
|
|
||||||
- run: npm build
|
|
||||||
- run: npm test
|
|
||||||
- name: "releases package"
|
|
||||||
- run: echo "${{job.status}}"
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
dist
|
||||||
|
node_modules
|
||||||
|
|
@ -0,0 +1,19 @@
|
||||||
|
const { src, dest, series } = require('gulp');
|
||||||
|
|
||||||
|
const sass = require('gulp-sass')(require('sass'));
|
||||||
|
|
||||||
|
function buildStyles() {
|
||||||
|
return src('src/style/**/*.scss')
|
||||||
|
.pipe(sass().on('error', sass.logError))
|
||||||
|
.pipe(dest('dist/style/'))
|
||||||
|
};
|
||||||
|
|
||||||
|
function copySource() {
|
||||||
|
return src(['src/**/*', '!src/style/**/*.scss'])
|
||||||
|
.pipe(dest('dist/'));
|
||||||
|
}
|
||||||
|
|
||||||
|
exports.default = series(
|
||||||
|
copySource,
|
||||||
|
buildStyles
|
||||||
|
)
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"name": "DSA41Module",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"description": "Another DSA 4.1 System Module for FoundryVTT",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://git.macniel.online/macniel/foundry-dsa41-game.git"
|
||||||
|
},
|
||||||
|
"type": "module",
|
||||||
|
"scripts": {
|
||||||
|
"test": "true",
|
||||||
|
"build": "gulp"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"gulp": "^5.0.1",
|
||||||
|
"gulp-sass": "^6.0.1",
|
||||||
|
"sass": "^1.93.2",
|
||||||
|
"sass-build": "^1.1.6"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"gulp-cli": "^3.1.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
$bgcolor: FFF;
|
||||||
|
|
||||||
|
html {
|
||||||
|
background-color: $bgcolor;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -0,0 +1,54 @@
|
||||||
|
{
|
||||||
|
"id": "DSA 4.1",
|
||||||
|
"title": "Das Schwarze Auge 4.1",
|
||||||
|
"description": "Noch ein Spielsystem für Das Schwarze Auge 4.1",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"compatibility": {
|
||||||
|
"minimum": 12,
|
||||||
|
"verified": 13
|
||||||
|
},
|
||||||
|
"authors": [{
|
||||||
|
"name": "GrandpaPoppy"
|
||||||
|
},{
|
||||||
|
"name": "ParanoidSpectre"
|
||||||
|
},{
|
||||||
|
"name": "macniel"
|
||||||
|
}],
|
||||||
|
"esmodules": ["main.mjs"],
|
||||||
|
"styles": ["styles/styles.css"],
|
||||||
|
"packs": [{
|
||||||
|
"name": "talente",
|
||||||
|
"label": "Basistalente",
|
||||||
|
"type": "Item"
|
||||||
|
},{
|
||||||
|
"name": "zauber",
|
||||||
|
"label": "Basiszauber",
|
||||||
|
"type": "Item"
|
||||||
|
},{
|
||||||
|
"name": "liturgien",
|
||||||
|
"label": "Basisliturgien",
|
||||||
|
"type": "Item"
|
||||||
|
},{
|
||||||
|
"name": "sonderfertigkeiten",
|
||||||
|
"label": "Basissonderfertigkeiten",
|
||||||
|
"type": "Item"
|
||||||
|
}],
|
||||||
|
"languages": [{
|
||||||
|
"lang": "de",
|
||||||
|
"name": "Deutsch",
|
||||||
|
"path": "lang/de.json"
|
||||||
|
}],
|
||||||
|
"documentTypes": {
|
||||||
|
},
|
||||||
|
"socket": false,
|
||||||
|
"initiative": "1d6",
|
||||||
|
"grid": {
|
||||||
|
"distance": 10,
|
||||||
|
"units": "Schritt"
|
||||||
|
},
|
||||||
|
"primaryTokenAttribute": "resources.sp",
|
||||||
|
"secondaryTokenAttribute": "resources.aus",
|
||||||
|
"url": "https://git.macniel.online/macniel/foundry-dsa41-game",
|
||||||
|
"manifest": "https://git.macniel.online/macniel/foundry-dsa41-game/system.json",
|
||||||
|
"download": ""
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue