Skip to content

chore: version 4.8.0 #166

chore: version 4.8.0

chore: version 4.8.0 #166

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: --acl public-read --follow-symlinks
env:
AWS_S3_BUCKET: "courier-components-xvdza5"
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SOURCE_DIR: "./packages/components/dist"