Update dependency node to v20.18.0 #3989
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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
env: | |
TAG: "${{github.sha}}" | |
COMPOSE_DOCKER_CLI_BUILD: 1 | |
DOCKER_BUILDKIT: 1 | |
NODE_OPTIONS: "--max-old-space-size=4096" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set node version | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- name: javascript implementation install & build | |
working-directory: ./javascript | |
run: | | |
npm install | |
npm run build | |
- name: javascript tests | |
uses: GabrielBB/[email protected] | |
with: | |
working-directory: ./javascript | |
run: npm run test | |
- name: build examples | |
working-directory: ./examples/browser | |
run: | | |
npm install | |
npm run lint | |
npm run build | |
- name: test examples | |
uses: GabrielBB/[email protected] | |
with: | |
working-directory: ./examples/browser | |
run: npm run test | |
- run: npm run lint |