Skip to content

Commit

Permalink
ci: Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-mu committed Apr 29, 2024
1 parent e77ca09 commit c58bfcc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,23 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
- uses: actions/checkout@v3
- run: npm install
- run: npm run build

e2e:
needs: [test, build]
runs-on: ubuntu-latest
steps:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
- uses: actions/checkout@v3
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run docker compose
Expand All @@ -43,8 +53,16 @@ jobs:
CI: 'true' # https://playwright.dev/docs/ci

validate:
needs: build
runs-on: ubuntu-latest
steps:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
- uses: actions/checkout@v3
- run: npm install
- run: npm run build
- name: Zip the dist folder
run: zip -qr geomap-wms-panel.zip geomap-wms-panel
- name: Run validator
Expand All @@ -59,6 +77,11 @@ jobs:
# with:
# grafana_token: ${{ secrets.GRAFANA_ACCESS_POLICY_TOKEN }}
steps:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
- uses: actions/checkout@v3
- name: Sign plugin
run: npm run sign
shell: bash
Expand Down

0 comments on commit c58bfcc

Please sign in to comment.