Skip to content

Merge pull request #228 from KenEucker/develop #143

Merge pull request #228 from KenEucker/develop

Merge pull request #228 from KenEucker/develop #143

Workflow file for this run

name: Release
on:
push:
branches:
- production
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://git@github.com/
- name: Install Dependencies
run: npm ci --ignore-scripts
- name: Run Linters
run: npm run lint
- name: Run Build
run: npm run build:prod
- name: Run Tests
run: npm run test:ci
- name: Run Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release