chore(deps): update node #296
Workflow file for this run
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 | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Use Node.js | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 | |
with: | |
node-version-file: '.tool-versions' | |
- uses: erlef/setup-beam@5304e04ea2b355f03681464e683d92e3b2f18451 # v1 | |
with: | |
version-file: '.tool-versions' | |
version-type: 'strict' | |
- run: gleam deps download | |
- run: gleam test | |
- run: gleam test --target js | |
- run: gleam format --check src test | |
demo: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Use Node.js | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 | |
with: | |
node-version-file: '.tool-versions' | |
- uses: erlef/setup-beam@5304e04ea2b355f03681464e683d92e3b2f18451 # v1 | |
with: | |
version-file: '.tool-versions' | |
version-type: 'strict' | |
- run: gleam deps download | |
working-directory: ./demo | |
- run: gleam test | |
working-directory: ./demo | |
- run: gleam format --check src test | |
working-directory: ./demo |