Skip to content

Update validate.yml #913

Update validate.yml

Update validate.yml #913

Workflow file for this run

name: Validate
on:
- pull_request
- push
permissions: {}
jobs:
validate:
name: Lint & Test
permissions:
checks: write
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
with:
token: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN || github.token }}
- name: Set Git user
run: |
git config user.name seek-oss-ci
git config user.email 34733141+seek-oss-ci@users.noreply.github.com
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Test
run: yarn test:ci
- name: Lint
run: yarn lint