Skip to content

Commit

Permalink
Merge pull request #87 from jiftechnify/update-ci
Browse files Browse the repository at this point in the history
Update CI
  • Loading branch information
jiftechnify authored Jan 8, 2024
2 parents d5a7c61 + 48de05e commit cdd93bc
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "20.x"

Expand All @@ -24,3 +24,13 @@ jobs:

- name: Lint
run: yarn lint

typos:
name: Detect typos
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Run typos
uses: crate-ci/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

name: 'Combine PRs'
name: 'Combine Dependabot PRs'

# Controls when the action will run - in this case triggered manually
on:
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
await github.rest.pulls.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: 'Combined PR',
title: 'Combined Dependabot PRs',
head: '${{ github.event.inputs.combineBranchName }}',
base: baseBranch,
body: body
Expand Down
6 changes: 3 additions & 3 deletions src/components/HeaderMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const LoggedInHeaderMenuBody: React.FC<HeaderMenuBodyProps> = ({ myData }) => {
<MenuItemShareMusic disabled={!writeOpsEnabled} />
<DropdownMenuSeparator />
<MenuItemToggleColorTheme />
<MenuItemSwitchLangage />
<MenuItemSwitchLanguage />
<DropdownMenuSeparator />
<MenuItemZap />
<MenuItemGitHubRepo />
Expand All @@ -100,7 +100,7 @@ const LoggedOutHeaderMenuBody: React.FC = () => {
</DropdownMenuTrigger>
<DropdownMenuContent className={css({ w: "14rem" })} align="start" collisionPadding={8}>
<MenuItemToggleColorTheme />
<MenuItemSwitchLangage />
<MenuItemSwitchLanguage />
<DropdownMenuSeparator />
<MenuLabelBuildId />
</DropdownMenuContent>
Expand Down Expand Up @@ -185,7 +185,7 @@ const MenuItemToggleColorTheme: React.FC = () => {
);
};

const MenuItemSwitchLangage: React.FC = () => {
const MenuItemSwitchLanguage: React.FC = () => {
const { t, i18n } = useTranslation();

const onLangChange = (v: string) => {
Expand Down
2 changes: 1 addition & 1 deletion src/states/nostr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ const applyStatusUpdate = (ev: NostrEvent) => {
}
jotaiStore.set(followingsStatusesAtom, new Map(statusesMap));
} else {
// status update with emtpy content -> invalidate
// status update with empty content -> invalidate
invalidationScheduler.cancel(pubkey, category);
invalidateStatus(pubkey, category);
}
Expand Down

0 comments on commit cdd93bc

Please sign in to comment.