diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..d367b23 --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,52 @@ +name: CI + +on: + push: + + branches: + - '*' + tags: + - '*' + + pull_request: + branches: + - '*' + +jobs: + build: + + runs-on: windows-latest + + strategy: + matrix: + node-version: [20.x] + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + + - run: npm ci + + - name: Get hash + shell: cmd + working-directory: ./ + run: echo %GITHUB_SHA% > hash.txt + + - name: Get tag + shell: cmd + working-directory: ./ + if: startsWith(github.ref, 'refs/tags/') + run: echo %GITHUB_REF_NAME% > hash.txt + + - name: Build + run: npm run build-pr --if-present + + - name: Upload artifacts + uses: actions/upload-artifact@v3 + with: + name: Launcher + path: ./build/fpPS4 Temmie's Launcher (2.0.0)/win64/ \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..02b5a85 --- /dev/null +++ b/.gitignore @@ -0,0 +1,55 @@ +# Node artifact files +node_modules/ +dist/ + +# Compiled Java class files +*.class + +# Compiled Python bytecode +*.py[cod] + +# Log files +*.log + +# Package files +*.jar + +# Maven +target/ +dist/ + +# JetBrains IDE +.idea/ + +# Unit test reports +TEST*.xml + +# Generated by MacOS +.DS_Store + +# Generated by Windows +Thumbs.db + +# Applications +*.app +*.exe +*.war + +# Large media files +*.mp4 +*.tiff +*.avi +*.flv +*.mov +*.wmv + +# fpPS4 Temmie's Launcher files / folders +Settings/ +Assets/ +Build/ +build/ +cache/ +Cache/ +fpPS4/ +*.inc +*.ttf \ No newline at end of file