Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

fix: yaml formatting (#557) #577

fix: yaml formatting (#557)

fix: yaml formatting (#557) #577

Workflow file for this run

name: build
on:
push:
branches:
- main
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Checkout Repository
uses: actions/checkout@v2
with:
token: ${{ secrets.GH_TOKEN }}
- name: Install modules
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Build the CJS files
run: pnpm build
- name: Add new READMEs to website
run: |
"$PWD"/readme-parser/dist/sync.js
- name: Upload to S3
uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read --follow-symlinks
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-west-1'
DEST_DIR: 'codemod-registry'
SOURCE_DIR: 'builder/dist'