Skip to content

Commit

Permalink
added separate ci for build on pr and push
Browse files Browse the repository at this point in the history
  • Loading branch information
migraf committed Mar 30, 2022
1 parent 91a7d43 commit 7ddc1f8
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: build



on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: [ self-hosted, docker, linux, x64 ]

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: |
npm ci
npm run build

0 comments on commit 7ddc1f8

Please sign in to comment.