Skip to content

de-duplciating renderActionsAsButtons #175

de-duplciating renderActionsAsButtons

de-duplciating renderActionsAsButtons #175

Workflow file for this run

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 --cache-control "max-age=31536000,public,immutable"
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"