33 lines
816 B
YAML
33 lines
816 B
YAML
name: Release app
|
|
on:
|
|
workflow_dispatch: null
|
|
jobs:
|
|
release:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- windows-latest
|
|
- macos-latest
|
|
- macos-latest
|
|
- ubuntu-latest
|
|
steps:
|
|
- name: Check out Git repository
|
|
uses: actions/checkout@4.2.2
|
|
- name: Install Node.js, NPM and Yarn
|
|
uses: actions/setup-node@4.4.0
|
|
with:
|
|
node-version: 20
|
|
- name: Config git user
|
|
run: |
|
|
git config --global user.email "gilleslazure04@gmail.com"
|
|
git config --global user.name "Gilles Lazure <azures04>"
|
|
- name: Install app dependencies
|
|
run: |
|
|
npm i
|
|
- name: Build app
|
|
run: |
|
|
node build
|
|
env:
|
|
GITHUB_TOKEN: ${{ github.token }}
|