Skip to content

Merge pull request #1399 from Shopify/hide-PolicyModal-from-3p-apps #21

Merge pull request #1399 from Shopify/hide-PolicyModal-from-3p-apps

Merge pull request #1399 from Shopify/hide-PolicyModal-from-3p-apps #21

name: Internal Snapshot
on:
workflow_dispatch:
push:
branches:
- internal
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
internal-snapshot:
name: Internal Snapshot
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
- uses: ./.github/workflows/actions/prepare
- name: Create an .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
- name: Deploy snapshot versions
run: yarn run deploy:internal
env:
GITHUB_TOKEN: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}