Skip to content

Commit

Permalink
Merge pull request #5 from GorlikItsMe/dev
Browse files Browse the repository at this point in the history
 Use npm insteard of yarn and fix login
  • Loading branch information
GorlikItsMe authored May 17, 2024
2 parents ad1800a + 3c7756f commit 04f0a3a
Show file tree
Hide file tree
Showing 13 changed files with 2,452 additions and 1,399 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ module.exports = {
"plugin:prettier/recommended",
],
rules: {
'ts-expect-error': 'allow-with-description',
},
"@typescript-eslint/ban-ts-comment": "off"
}
};
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
node-version: 18
registry-url: 'https://registry.npmjs.org'
- run: yarn
- run: yarn prepublishOnly
- run: yarn publish --access public
- run: npm install
- run: npm run prepublishOnly
- run: npm run publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Tests
on:
push:
branches:
branches: ["main", "master"]
pull_request:
branches: ["main", "master"]

jobs:
test:
Expand All @@ -12,13 +13,13 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "14.x"
node-version: "18.x"

- name: Install dependencies
run: yarn
run: npm install

- name: Lint
run: yarn lint
run: npm run lint

- name: Build
run: yarn build
run: npm run build
Loading

0 comments on commit 04f0a3a

Please sign in to comment.