4
0
mirror of https://github.com/AltarikMC/Launcher synced 2024-11-21 06:09:51 +01:00

Merge pull request #289 from AltarikMC/dev

update CI
This commit is contained in:
Quentin Legot 2023-08-29 18:32:44 +04:00 committed by GitHub
commit 4f699ad51e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 5 deletions

View File

@ -13,12 +13,12 @@ name: "CodeQL"
on:
push:
branches: [ master ]
branches: [ dev, 'dependabot/**' ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master, 'dependabot/**' ]
schedule:
- cron: '00 3 * * 6'
branches: [ dev, 'dependabot/**' ]
# schedule:
# - cron: '00 3 * * 6'
jobs:
analyze:

26
.github/workflows/publish.yml vendored Normal file
View File

@ -0,0 +1,26 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Publish package
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: [ ubuntu-latest, windows-latest ]
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'yarn'
architecture: 'x86'
- name: Install dependencies
run: yarn
- name: Build and publish package
run: yarn run publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,7 +1,7 @@
{
"name": "altarik-launcher",
"author": "Altarik",
"version": "2.0.4",
"version": "2.0.5",
"description": "Altarik Launcher",
"main": "src/server/main.js",
"homepage": "https://altarik.fr/",