Changed typo in "conspiracy" card type. (#623) #79
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 Management | |
on: | |
push: | |
branches: [main] | |
jobs: | |
release: | |
name: 'Tests, Build, and Release' | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout | |
uses: actions/checkout@master | |
# Sets up the Node environment to build the application on | |
- name: 🏗 Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
# Installs local dependencies needed to build, test, etc. | |
- name: 🏗 Install Dependencies | |
run: | | |
npm install | |
# Runs all tests and builds the application | |
- name: 🧱 Run Tests and Build Application | |
run: | | |
npm run test:full | |
env: | |
CI: true | |
# Upload CodeCov report to the remote server | |
- name: ⬆️ Upload Code Coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
# Generate a dynamic release tag based on a nightly build format | |
- name: 🏷 Generate Release Tag | |
id: tag | |
run: echo "release_tag=Release_$(date +"%Y.%m.%d_%H-%M")" >> $GITHUB_OUTPUT | |
# Zip up the build files | |
- name: 💾 Archive Release | |
uses: thedoctor0/zip-release@master | |
with: | |
type: zip | |
filename: release.zip | |
directory: ./docs/.vitepress | |
path: dist | |
# Deliver the build files to a new tag | |
- name: 🚙 Deliver Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
tag_name: ${{ steps.tag.outputs.release_tag }} | |
files: ./docs/.vitepress/release.zip |