Skip to content

update release scripts #1513

update release scripts

update release scripts #1513

Workflow file for this run

name: Lint and test
on: push
# Auto cancels previous running jobs on each new commit
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
lintAndTest:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '18.17.1'
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Lint
run: yarn lint
- name: Test
env:
TESTING_API_URL: ${{secrets.TESTING_API_URL}}
run: |
export NODE_OPTIONS="--max_old_space_size=12096"
export CI=true
yarn test:ci