Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

chore(package): fix nodejs corepack #128

chore(package): fix nodejs corepack

chore(package): fix nodejs corepack #128

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Build & Lint
on:
workflow_dispatch:
pull_request:
push:
branches:
- next
- main
env:
NODE_VERSION: lts/*
jobs:
build-lint-ts:
name: Build & Lint Typescript
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: ⤵️ Checkout repository
uses: actions/[email protected]
- name: 🏗 Setup nodejs
uses: actions/[email protected]
with:
node-version: ${{ env.NODE_VERSION }}
# cache: yarn
- name: 🏗 Setup nodejs corepack
run: corepack enable
# corepack prepare yarn@stable --activate
- name: 🏗 Install dependencies
run: yarn install --immutable
- name: 🚀 Build Typescript
run: yarn build
- name: 🚀 Run ESLint
run: yarn lint