[Test] learn github action #2
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: learn-github-actions | |
run-name: ${{ github.actor }} is learning GitHub Actions | |
on: | |
pull_request: | |
schedule: | |
- cron: '0 19 * * 0' | |
jobs: | |
check-bats-version: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: npm install -g bats | |
- run: bats -v | |
blobtestubuntu20_04: | |
displayName: Blob Test Linux Ubuntu 20.04 LTS | |
runs-on: "ubuntu-20.04" | |
strategy: | |
matrix: | |
node_20_x: | |
node_version: 20.x | |
node_14_x: | |
node_version: 14.x | |
steps: | |
- task: NodeTool@0 | |
inputs: | |
versionSpec: "$(node_version)" | |
displayName: "Install Node.js" | |
- script: | | |
npm ci --legacy-peer-deps | |
workingDirectory: "./" | |
displayName: "npm ci --legacy-peer-deps" | |
- script: | | |
npm run test:blob | |
workingDirectory: "./" | |
displayName: "npm run test:blob" | |
env: {} | |
- script: | | |
npm run test:blob:in-memory | |
workingDirectory: "./" | |
displayName: "npm run test:blob:in-memory" | |
env: {} |