Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build
on: [ push, pull_request, release, workflow_dispatch ]

# noop
env:
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_GALC_UI_PUBLISH_TOKEN }}

Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
publish-snapshot:
needs: build
runs-on: ubuntu-latest
if: github.ref_name == 'main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
# if: github.ref_name == 'main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')

steps:
- name: Check out repository
Expand All @@ -85,7 +85,9 @@ jobs:

- name: Publish latest snapshot
run: |
yarn config
yarn version 0.0.0-"${GITHUB_SHA:0:7}" --immediate
cat package.json
yarn npm publish --access public --tag snapshot

publish-release:
Expand Down
Loading