Skip to content

fix: infer return of the left hand of assignment operator #21

fix: infer return of the left hand of assignment operator

fix: infer return of the left hand of assignment operator #21

Workflow file for this run

name: Quality & Release
on: [push]
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
quality:
name: Quality
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://npm.pkg.github.com/
scope: '@LunarClient'
always-auth: true
- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
version: 8
run_install: true
- name: Build Packages
run: pnpm build
- name: Run Tests
run: pnpm test
- name: Check Types
run: pnpm types
release:
name: Release
runs-on: ubuntu-latest
needs: quality
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://npm.pkg.github.com/
scope: '@LunarClient'
always-auth: true
- name: Setup PNPM
uses: pnpm/action-setup@v3
with:
version: 8
run_install: true
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN }}