Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
sammbetts committed Nov 13, 2023
1 parent 27cba94 commit 6165374
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 26 deletions.
37 changes: 12 additions & 25 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,38 +7,25 @@ env:
node-version: 18

jobs:
prettier:
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: Configure / Setup with Yarn
fetch-depth: '0'
- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v3
with:
cache: yarn
node-version: ${{ env.node-version }}
cache: 'yarn'
- run: yarn install --immutable
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v37
with:
files: |
**/*.md
**/*.yml
**/*.yaml
**/*.ts
**/*.js
**/*.html
- name: Prettify code
uses: creyD/prettier_action@v4.3
with:
prettier_options: >-
--check ${{ steps.changed-files.outputs.all_changed_files }}
dry: true
only_changed: false
- run: yarn lint:all
- run: yarn tsc
- run: yarn build

bump-version:
name: Bump version
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"test": "backstage-cli package test",
"clean": "backstage-cli package clean",
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack"
"postpack": "backstage-cli package postpack",
"bump": "yarn run standard-version --no-verify --releaseCommitMessageFormat 'v{{currentTag}}'"
},
"workspaces": {
"packages": [
Expand Down

0 comments on commit 6165374

Please sign in to comment.