Merge pull request #2625 from Shopify/emileber/bump-web-pixels-extens… #197
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: | |
- main | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
changesets: | |
name: Changesets | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }} | |
- uses: ./.github/workflows/actions/prepare | |
- id: changesets | |
name: Create release Pull Request or publish to NPM | |
uses: changesets/action@v1 | |
with: | |
title: Version Packages (${{ github.ref_name }}) | |
publish: yarn run deploy | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }} |