Skip to content

Bump @types/node from 18.15.3 to 22.10.1 #1347

Bump @types/node from 18.15.3 to 22.10.1

Bump @types/node from 18.15.3 to 22.10.1 #1347

Workflow file for this run

name: NodeJS
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node.js 16.x
uses: actions/setup-node@v4
with:
node-version: '16'
- name: Get the Yarn cache directory
id: yarn-cache
run: |
echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache Yarn dependencies
uses: actions/cache@v3.3.2
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install
- run: yarn build
- run: yarn package
- uses: actions/upload-artifact@v3
with:
path: |
*.vsix
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node.js 16.x
uses: actions/setup-node@v4
with:
node-version: '16'
- name: Get the Yarn cache directory
id: yarn-cache
run: |
echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache Yarn dependencies
uses: actions/cache@v3.3.2
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install
- run: yarn lint