Update dependency typescript to v5.6.3 - autoclosed #29
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: tests | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: 'npm' | |
- name: Get npm cache directory | |
id: npm-cache-dir | |
shell: bash | |
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} | |
- uses: actions/cache@v4 | |
id: npm-cache | |
with: | |
path: | | |
${{ steps.npm-cache-dir.outputs.dir }} | |
**/node_modules | |
.eslintcache | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Install modules | |
run: npm install --no-audit --no-fund | |
- name: Build | |
run: npm run build | |
- name: Demo build | |
run: npm run demo:build | |
code_quality: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: 'npm' | |
- name: Get npm cache directory | |
id: npm-cache-dir | |
shell: bash | |
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} | |
- uses: actions/cache@v4 | |
id: npm-cache | |
with: | |
path: | | |
${{ steps.npm-cache-dir.outputs.dir }} | |
**/node_modules | |
.eslintcache | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Install modules | |
run: npm install --no-audit --no-fund | |
- name: Run code quality tests | |
run: npm run lint | |
export_size: | |
runs-on: macos-latest | |
if: github.event_name == 'pull_request' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: '0' | |
- uses: titouanmathis/export-size-action@main | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
build_script: npm run build | |
paths: packages/playground/ | |
bundler: esbuild | |
node-version: '22' |