Skip to content

v2.11.2

v2.11.2 #200

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 8.15.2
run_install: true
- name: Code style check
run: pnpm fmt:check
- name: Run tests
run: pnpm test
user_test:
name: User Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
path: ./g-plane/typed-query-selector
- name: Checkout "refined-github"
uses: actions/checkout@v4
with:
repository: sindresorhus/refined-github
ref: 6e1be0b732b272b3bf58c4db0d9d76fb8ed5c11e
path: ./sindresorhus/refined-github
- name: Install dependencies
run: npm ci
working-directory: ./sindresorhus/refined-github
- name: Link package
run: |
cd ./g-plane/typed-query-selector
sudo npm link
cd ../../sindresorhus/refined-github
npm link typed-query-selector
- name: Execute in non-strict mode
run: node node_modules/.bin/tsc --noEmit --extendedDiagnostics
working-directory: ./sindresorhus/refined-github
- name: Execute in strict mode
run: |
sed -i "s/typed-query-selector/typed-query-selector\/strict/" source/refined-github.ts
node node_modules/.bin/tsc --noEmit --extendedDiagnostics
working-directory: ./sindresorhus/refined-github