Create build.yml
This commit is contained in:
parent
eb8f11ac89
commit
5f8ba166cb
32
.github/workflows/build.yml
vendored
Normal file
32
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
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 }}
|
||||||
Loading…
x
Reference in New Issue
Block a user