Bump @types/node from 22.8.2 to 22.8.4 #1489
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
on: | |
push: | |
branches: | |
- main | |
- update-scala-cli-setup | |
- create-pull-request/patch | |
tags: | |
- "v*" | |
pull_request: | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macOS-13, macOS-latest, windows-latest] | |
jvm: ['temurin:17'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'npm' | |
- name: Build | |
shell: bash -l {0} | |
run: | | |
npm ci | |
npm run all | |
# create an sbt file to enabling sbt caching | |
- run: echo 'name := "foo"' > build.sbt | |
- id: scala-cli-setup | |
uses: ./ | |
with: | |
jvm: ${{ matrix.jvm }} | |
apps: sbt sbtn ammonite bloop:1.4.11 | |
# - uses: coursier/cache-action@v5 | |
- run: echo cs-version=${{ steps.scala-cli-setup.outputs.cs-version }} | |
- run: echo $PATH | |
# test Java | |
- run: echo $JAVA_HOME | |
- run: java -version | |
- run: cs java -version | |
# test installed apps | |
- run: sbtn.bat show name </dev/null | |
shell: bash | |
if: runner.os == 'Windows' | |
- run: sbtn show name | |
if: runner.os != 'Windows' | |
- run: amm --help | |
- run: bloop about | |
- run: echo scala-cli-version=${{ steps.scala-cli-setup.outputs.scala-cli-version }} | |
- run: scala-cli help | |
- run: echo 'println("Hello")' | scala-cli - |