Skip to content

chore(ci): update workflows (#364) #56

chore(ci): update workflows (#364)

chore(ci): update workflows (#364) #56

Workflow file for this run

name: Branch checks
on:
push:
branches:
- main
env:
CI: true
jobs:
format:
timeout-minutes: 15
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: "yarn"
- name: Run format
run: |
yarn
yarn format
test:
timeout-minutes: 15
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: "yarn"
- name: Run test
run: |
yarn
yarn test --passWithNoTests
build:
timeout-minutes: 15
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: "yarn"
- name: Run build
run: |
yarn
yarn build