-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (30 loc) · 988 Bytes
/
publish.yaml
File metadata and controls
37 lines (30 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Publish
on:
push:
branches:
- main
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
run-tests:
name: Tests
uses: ./.github/workflows/test.yaml
publish-plugins:
name: Publish Plugins
needs: [run-tests]
# If a push event or a manual workflow_dispatch event with deploy-portal-app set to 'true'
if: ${{ github.event_name == 'push' }}
runs-on: ${{ vars.RUNS_ON }}
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Setup PNPM with Dependencies
uses: ./.github/actions/setup-pnpm-with-dependencies/
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
with:
name: vite-plugins-build-output-artifact
path: /
# TODO: PUBLISH PLUGINS