Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Merge pull request #2835 from Shopify/type-fixes #368

Merge pull request #2835 from Shopify/type-fixes

Merge pull request #2835 from Shopify/type-fixes #368

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
token: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'yarn'
- name: 📦 Install dependencies
run: |
npm install -g node-gyp
yarn --frozen-lockfile
- name: Create release Pull Request or publish to NPM
id: changesets
uses: changesets/action@v1
with:
publish: yarn release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}