Skip to content

Commit

Permalink
ls -la
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliytv committed Oct 8, 2022
1 parent ba03963 commit f27656c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,27 @@ jobs:
steps:
# Git Checkout
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
fetch-depth: 0

- uses: actions/setup-node@v3
with:
node-version: 18

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"

- uses: actions/cache@v2
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
run: yarn install

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ jobs:
node-version: 18

- name: Generate d.ts
run: npx -p typescript tsc src/**/*.js --declaration --allowJs --emitDeclarationOnly --outDir types
run: |
ls -la
ls src/
npx -p typescript tsc src/**/*.js --declaration --allowJs --emitDeclarationOnly --outDir types
- name: standard fix
run: yarn standard
Expand Down
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export function sendSms(phones: string, message: string, sender?: string, distributionId?: number): Promise<{
cnt: number;
cnt: number | null;
error_code: number | null;
}>;
export function getCountry(phone: string): string;

0 comments on commit f27656c

Please sign in to comment.