Skip to content

Merge pull request #33 from Shopify/fix-skill-review-findings #74

Merge pull request #33 from Shopify/fix-skill-review-findings

Merge pull request #33 from Shopify/fix-skill-review-findings #74

Workflow file for this run

name: Release
on:
push:
branches: [main]
permissions:
contents: write # Required for Changesets to push branches
id-token: write # Required for OIDC authentication
pull-requests: write # Required for Changesets to create PRs
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
changesets:
name: changeset release
if: github.event_name == 'push'
runs-on: ubuntu-24.04
environment:
name: npm-shop-cli
url: https://www.npmjs.com/package/@shopify/shop-cli
permissions:
contents: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 0
- uses: shop/setup-javascript-action@main
with:
node-version-file: package.json
pnpm-version: 10.28.0
- run: pnpm install --frozen-lockfile
- name: Configure public npm registry
shell: bash
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "registry=https://registry.npmjs.org/" > ~/.npmrc
echo "//registry.npmjs.org/:_authToken=" >> ~/.npmrc
echo "@shopify:registry=https://registry.npmjs.org/" >> ~/.npmrc
- uses: changesets/action@63a615b9cd06ba9a3e6d13796c7fbcb080a60a0b # v1.8.0
with:
version: pnpm version-packages
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_CONFIG_PROVENANCE: "true"
NPM_TOKEN: ''