chore(deps): update dependency node to v22 #868
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: CI | |
# Configures this workflow to run every time a change is pushed to the branch called `release`. | |
on: | |
pull_request: | |
# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu. | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache: pip | |
cache-dependency-path: .pre-commit-config.yaml | |
- uses: asdf-vm/actions/[email protected] | |
- uses: pre-commit/[email protected] | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
cache: 'yarn' | |
- run: yarn install | |
- run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Your Name" | |
- run: yarn test | |
env: | |
NODE_OPTIONS: "--experimental-vm-modules" |