Skip to content

Merge pull request #828 from CodeForPhilly/staging #15

Merge pull request #828 from CodeForPhilly/staging

Merge pull request #828 from CodeForPhilly/staging #15

Workflow file for this run

name: Release
on:
push:
branches:
- main
workflow_dispatch:
jobs:
release:
if: false
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.8.1'
- name: List files in the root directory
run: ls -al
- name: Check if package-lock.json exists
run: test -f package-lock.json && echo "package-lock.json exists" || echo "package-lock.json does not exist"
- name: Clear NPM Cache
run: npm cache clean --force
- name: Install dependencies
run: npm ci
- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release