Remove unused deps that make linter crash #33
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 on tag | |
on: | |
push: | |
tags: | |
- "v*" | |
permissions: | |
contents: write | |
jobs: | |
build: | |
name: Build release zip | |
runs-on: ubuntu-latest | |
steps: | |
- uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: latest | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install checkout deps | |
working-directory: 'applications' | |
run: 'bun install ' | |
- name: Build apps in dist | |
working-directory: '.' | |
run: 'make compile_apps' | |
- name: Compile Release | |
uses: thedoctor0/[email protected] | |
with: | |
type: 'zip' | |
filename: 'xprcheckout_woocomerce_gateway_beta_${{ github.ref_name }}.zip' | |
directory: '.' | |
exclusions: '*.git* /*node_modules/* .editorconfig /*applications/*' | |
- name: Generate JSON manifest | |
run: 'VERSION=${{ github.ref_name }} make generate_manifest' | |
- name: Upload Release | |
uses: ncipollo/[email protected] | |
with: | |
tag: '${{ github.ref_name }}' | |
artifacts: "xprcheckout_woocomerce_gateway_beta_${{ github.ref_name }}.zip,info.json" | |
token: ${{ secrets.GITHUB_TOKEN }} |