fix(another authentiction fix): fix useeffect referencing wrong variable #172
Workflow file for this run
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: Release | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
test: | |
env: | |
COURIER_WS_URL: ${{ secrets.COURIER_WS_URL }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
registry-url: "https://registry.npmjs.org" | |
node-version: "14.x" | |
scope: "@trycourier" | |
always-auth: true | |
- run: yarn | |
- run: yarn lerna:publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | |
- run: yarn build:components | |
- uses: jakejarvis/s3-sync-action@master | |
with: | |
# Do not use --delete flag. We store previous versions in this bucket. | |
args: --follow-symlinks | |
env: | |
AWS_S3_BUCKET: "courier-push-provider-prod-couriercomponentsbucket-jqacxmhbzmwx" | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
SOURCE_DIR: "./packages/components/dist" |