Update validate.yml #913
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |