Skip to content

fix: Fixed cell masking and closed loader error message by updating w… #130

fix: Fixed cell masking and closed loader error message by updating w…

fix: Fixed cell masking and closed loader error message by updating w… #130

Workflow file for this run

name: Deploy AWS
env:
NODE_VERSION: "16"
on:
push:
# Sequence of patterns matched against refs/tags
branches:
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{env.NODE_VERSION}}
- run: npm ci
- run: npm run lint --if-present
test:
name: Unit Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{env.NODE_VERSION}}
- run: npm ci
- run: npm test --if-present
typeCheck:
name: Type Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{env.NODE_VERSION}}
- run: npm ci
- run: npm run typeCheck --if-present
deploy:
needs: [lint, typeCheck, test]
name: Upload to Amazon S3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{env.NODE_VERSION}}
- run: npm ci
- run: npm run build
- name: Copy files to staging bucket
run: aws s3 sync ./dist/ s3://staging.cfe.allencell.org --delete