runs-on: ubuntu-latest
needs: [backend, frontend]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/setup-node@v2.5.1
with:
node-version: '16'
- name: Install frontend dependencies
run: npm install
- name: Build package
run: make build
- name: Rename package to current tag
run: mv build.zip gitlist-${{ github.ref_name }}.zip
- name: Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files: gitlist-${{ github.ref_name }}.zip