Files
read-file-action/.github/workflows/ci.yml
Julian Gruber acbcc5866e ci: add test JSON #21 (#23)
* ci: add test JSON #21

* fix ci
2022-08-29 09:43:29 +02:00

23 lines
497 B
YAML

name: CI
on:
push:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build
run: |
npm ci
npm run build
- uses: ./
id: package
with:
path: package.json
trim: true
- name: Echo package version
run: echo "${{ JSON.parse(steps.package.outputs.content).version }}"