style: Adjust username span width #4
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: NodeJS with Webpack | |
on: | |
push: | |
branches: | |
- develop | |
- feat/** | |
- fix/** | |
tags: | |
- 1.x | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js v20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Build | |
run: | | |
# -- Build one time for release | |
export NODE_ENV=production | |
yarn | |
yarn build | |
zip -r static.zip static | |
- name: Upload build folder as artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: static | |
path: static.zip | |
if-no-files-found: error | |
retention-days: 3 | |
- name: Upload build to a release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'null2264/fedi.aap.frontend' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
files: ./static.zip |