diff --git a/.github/workflows/publish_package.yml b/.github/workflows/publish_package.yml index 54df6b4..0f468a4 100644 --- a/.github/workflows/publish_package.yml +++ b/.github/workflows/publish_package.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 18.17.0 + node-version: 18.17.1 registry-url: https://registry.npmjs.org/ - run: yarn install - run: yarn compile diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..e00d6d4 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,18 @@ +name: jest + +on: + pull_request: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 18.17.1 + - run: yarn install + - run: yarn test