Bump string-strip-html from 8.5.0 to 13.4.7 #69
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
# Run on every commit tag which begins with "v" (e.g., "v0.1.4") | |
on: | |
push: | |
tags: | |
- 'v*' | |
pull_request: | |
branches: | |
- main | |
# Automatically create a GitHub Release, with release details specified (the relevant commits) | |
jobs: | |
release: | |
name: 'Release' | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
- name: Build | |
run: | | |
npm ci | |
npm run build | |
- name: Create Zip | |
if: startsWith(github.ref, 'refs/tags/') | |
run: zip -r module-league-prm.zip package.json package-lock.json dist/* frontend/* | |
- uses: 'marvinpinto/action-automatic-releases@latest' | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
repo_token: '${{ secrets.GITHUB_TOKEN }}' | |
prerelease: false | |
files: | | |
module-league-prm.zip |