Skip to content

Commit

Permalink
fix: vertically center unsplash logo
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Dec 21, 2022
1 parent 6100234 commit dfa2612
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 22 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/main.yml
Expand Up @@ -38,15 +38,6 @@ concurrency:
cancel-in-progress: true

jobs:
log-the-inputs:
name: Log inputs
runs-on: ubuntu-latest
steps:
- run: |
echo "Inputs: $INPUTS"
env:
INPUTS: ${{ toJSON(inputs) }}
build:
runs-on: ubuntu-latest
name: Lint & Build
Expand All @@ -58,10 +49,10 @@ jobs:
node-version: lts/*
- run: npm ci
# Linting can be skipped
- run: npm run lint --if-present
- run: npm run lint
if: github.event.inputs.test != 'false'
# But not the build script, as semantic-release will crash if this command fails so it makes sense to test it early
- run: npm run prepublishOnly --if-present
- run: npm run prepublishOnly

test:
needs: build
Expand Down Expand Up @@ -97,7 +88,7 @@ jobs:
cache: npm
node-version: ${{ matrix.node }}
- run: npm i
- run: npm test --if-present
- run: npm test

release:
needs: [build, test]
Expand Down
13 changes: 3 additions & 10 deletions package.json
Expand Up @@ -91,8 +91,8 @@
"prettier": "^2.7.1",
"prettier-plugin-packagejson": "^2.3.0",
"prompt": "^1.3.0",
"react": "^18",
"react-dom": "^18",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"replace-in-file": "^6.3.5",
"rimraf": "^3.0.2",
"sanity": "^3.0.0",
Expand All @@ -115,12 +115,5 @@
"publishConfig": {
"access": "public"
},
"sanityExchangeUrl": "https://www.sanity.io/plugins/sanity-plugin-asset-source-unsplash",
"sanityPlugin": {
"verifyPackage": {
"babelConfig": false,
"scripts": false,
"parcel": false
}
}
"sanityExchangeUrl": "https://www.sanity.io/plugins/sanity-plugin-asset-source-unsplash"
}
1 change: 1 addition & 0 deletions src/components/Icon.tsx
Expand Up @@ -3,6 +3,7 @@ import styled from 'styled-components'

const Svg = styled.svg`
transform: scale(0.8);
transform-origin: top;
`

export default function UnsplashIcon() {
Expand Down

0 comments on commit dfa2612

Please sign in to comment.