Skip to content

Merge branch 'stable' of github.com:MakairaIO/storefront-core into st… #4

Merge branch 'stable' of github.com:MakairaIO/storefront-core into st…

Merge branch 'stable' of github.com:MakairaIO/storefront-core into st… #4

Workflow file for this run

name: Build and Release
on:
push:
branches:
- stable
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install Dependencies
run: npm ci
- name: Build
run: npm run build
if: ${{ !contains(github.event.head_commit.message, '[skip-ci]') }}
- name: Release
run: npx semantic-release
if: ${{ !contains(github.event.head_commit.message, '[skip-ci]') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}