Add TypeScript declaration file to package #17
Workflow file for this run
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
name: Build and test lang-dot package | |
on: | |
push: | |
branches-ignore: | |
- v2 | |
- gh-pages | |
paths: | |
- "packages/lang-dot/**" | |
workflow_call: {} | |
permissions: | |
contents: read | |
jobs: | |
build: | |
name: Build and test lang-dot package | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18.x" | |
- name: "Run build and test" | |
run: | | |
yarn install --frozen-lockfile | |
yarn build | |
yarn test | |
working-directory: packages/lang-dot | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: dist | |
path: packages/lang-dot/dist | |
test-types: | |
name: Test types | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18.x" | |
- name: "Run check-types" | |
run: | | |
yarn install --frozen-lockfile | |
yarn check-types | |
working-directory: packages/lang-dot/test/types |