Add build.yml

Add a CI build step to confirm the extension can be builted
as expected.
This commit is contained in:
0x1eef 2023-09-28 18:21:33 -03:00
parent d494aec2d0
commit b8cbb63e49

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