From b8cbb63e490f55d1c7f4f109b228601299e48adf Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Thu, 28 Sep 2023 18:21:33 -0300 Subject: [PATCH] Add build.yml Add a CI build step to confirm the extension can be builted as expected. --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..1da9acd --- /dev/null +++ b/.github/workflows/build.yml @@ -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