Merge pull request #2543 from Shopify/njo/revert-event-target #545
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: Unstable Snapshot | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- unstable | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
unstable-snapshot: | |
name: Unstable 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:unstable | |
env: | |
GITHUB_TOKEN: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }} |