Skip to content

Merge pull request #2416 from Shopify/njo/bump-unstable #27

Merge pull request #2416 from Shopify/njo/bump-unstable

Merge pull request #2416 from Shopify/njo/bump-unstable #27

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 }}