-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Meta: Added lexical licensing info and added TS/JS CI testing
- Loading branch information
1 parent
a62d838
commit 1b9310e
Showing
4 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: test-js | ||
|
||
on: | ||
push: | ||
paths: | ||
- '**.js' | ||
- '**.ts' | ||
- '**.json' | ||
pull_request: | ||
paths: | ||
- '**.js' | ||
- '**.ts' | ||
- '**.json' | ||
|
||
jobs: | ||
build: | ||
if: ${{ github.ref != 'refs/heads/l10n_development' }} | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install NPM deps | ||
run: npm ci | ||
|
||
- name: Run TypeScript type checking | ||
run: npm run ts:lint | ||
|
||
- name: Run JavaScript tests | ||
run: npm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters