Skip to content

Update: bump @swc/core from 1.7.23 to 1.7.36 #1046

Update: bump @swc/core from 1.7.23 to 1.7.36

Update: bump @swc/core from 1.7.23 to 1.7.36 #1046

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Get npm cache directory
id: npm-cache
run: |
echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
- name: Check npm cache
uses: actions/cache@v3
with:
path: |
${{ steps.npm-cache.outputs.dir }}
key: npm-16.x-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint -- -- --max-warnings 0