Merge pull request #6 from 0x1eef/build

Add build.yml
This commit is contained in:
0x1eef 2023-09-28 18:36:46 -03:00 committed by GitHub
commit 2e41de979a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

23
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: photon
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18 ]
name: build
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm i
- run: npm run build