Skip to content

Actions

Actions #1

Workflow file for this run

name: Build
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
with:
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: |
yarn --version
yarn install --immutable --verbose
- name: Lint
run: yarn lint
- name: Build
run: yarn build
env:
NODE_ENV: production
- name: Upload artifact
id: upload-artifact
uses: actions/upload-artifact@v4
with:
name: localstack-ses-viewer
path: dist/
retention-days: 7
if-no-files-found: error