SPDE-130: Re-CD this repo #16
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: Scratch Workflow | |
on: | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
permissions: | |
id-token: write # This is required for requesting the JWT | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] # we should pull this from a common place | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Extract version from package.json | |
uses: sergeysova/jq-action@v2 | |
id: version | |
with: | |
cmd: 'jq .version package.json -r' | |
- name: Show my version | |
run: 'echo "version ${{ steps.version.outputs.value }}"' |