Skip to content

Merge pull request #1719 from Shopify/dependabot/npm_and_yarn/types/n… #669

Merge pull request #1719 from Shopify/dependabot/npm_and_yarn/types/n…

Merge pull request #1719 from Shopify/dependabot/npm_and_yarn/types/n… #669

Workflow file for this run

name: Create release PR and/or publish release to NPM
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Update PR for publishing new release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
cache: 'pnpm'
node-version: 18.x
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Create release Pull Request or publish to NPM
id: changesets
uses: changesets/action@v1
with:
title: Packages for release
publish: pnpm release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}