Skip to content

Commit

Permalink
minor changes #10
Browse files Browse the repository at this point in the history
  • Loading branch information
ukorvl committed Aug 8, 2023
1 parent 495c557 commit b26e277
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
build:
runs-on: [ubuntu-latest]
runs-on: ubuntu-latest
name: Build
steps:
- name: Checkout
Expand All @@ -31,9 +31,6 @@ jobs:
- name: Lint
run: npm run lint

- name: Lint:editorconfig
run: npm run lint:editorconfig

- name: Test
run: npm run test

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
ensure_version_changed:
name: Ensure that version was changed
runs-on: [ubuntu-latest]
runs-on: ubuntu-latest
outputs:
version: ${{ steps.check_version.outputs.version }}
steps:
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
should_pack: true

publish:
runs-on: [ubuntu-latest]
runs-on: ubuntu-latest
needs: [build, ensure_version_changed]
if: ${{ needs.ensure_version_changed.outputs.version }}
name: Publish to npm
Expand All @@ -56,7 +56,7 @@ jobs:
npm publish --access public ukorvl-react-on-screen-${{ needs.ensure_version_changed.outputs.version }}.tgz
tag:
runs-on: [ubuntu-latest]
runs-on: ubuntu-latest
needs: [build, ensure_version_changed, publish, release]
if: ${{ needs.ensure_version_changed.outputs.version }}
name: Tag
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"access": "public"
},
"lint-staged": {
"*.{ts,tsx}": "rome format --write"
"*.{js,ts,tsx}": "rome format --write"
},
"jest": {
"roots": [
Expand Down

0 comments on commit b26e277

Please sign in to comment.