Skip to content

Commit

Permalink
Creating build and release actions (#1)
Browse files Browse the repository at this point in the history
* creating build and release actions

* changed npm ci to npm install

* removed release action for now
  • Loading branch information
aidanm3341 authored Nov 21, 2023
1 parent df65e24 commit 2279644
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build-release

0 comments on commit 2279644

Please sign in to comment.