Skip to content

Commit

Permalink
Create branches.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaisa Korpela authored Oct 2, 2020
1 parent ad6734d commit 26b1ec5
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/branches.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Node.js

on:
push:
branches-ignore:
- master

env:
NODE_VERSION: '12.x' # set this to the node version to use

jobs:
build-and-deploy:
name: Build and Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: yarn install and build
run: |
# Build and test the project, then
# deploy to Azure Web App.
yarn install
yarn build

0 comments on commit 26b1ec5

Please sign in to comment.