feat: Add support for Node 22 (#4808) #1713
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: test-schemas.yml | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- '4.12' | |
- '4.13' | |
pull_request: | |
branches: | |
- main | |
- '4.12' | |
- '4.13' | |
jobs: | |
ci: | |
name: test:schemas | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: use node 22.x | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: 22.x | |
- name: yarn cache dir | |
id: yarn-cache-dir | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- uses: actions/cache@v2 | |
with: | |
path: ${{ steps.yarn-cache-dir.outputs.dir }} | |
key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }} | |
- name: npm install @microsoft/botframework-cli@next --global | |
run: npm install @microsoft/botframework-cli@next --global | |
- name: yarn | |
run: yarn --frozen-lockfile | |
- name: yarn build | |
run: yarn build | |
- name: yarn test:schemas | |
run: yarn test:schemas |