Skip to content

Commit

Permalink
ci: setup npm tag fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
KiwiKilian committed Dec 2, 2024
1 parent f755dd3 commit 409e4e2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/fix-npm-tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Name: Fix NPM Tags

on: workflow_dispatch

jobs:
publish:
name: Fix NPM Tags
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup
with:
registry-url: https://registry.npmjs.org/

- name: Setup .yarnrc.yml
run: yarn config set npmAuthToken $NPM_AUTH_TOKEN
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_ORG_TOKEN }}

# - name: Fix latest Tag
# run: yarn npm tag add @maplibre/[email protected] latest
#
# - name: Fix alpha Tag
# run: yarn npm tag add @maplibre/[email protected] alpha

0 comments on commit 409e4e2

Please sign in to comment.