Skip to content
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: '12.x'
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
# Runs a single command using the runners shell
- run: npm install
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
steps:
- uses: actions/checkout@v2
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: '12.x'
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish
- run: npm publish --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_NEW }}
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ module.exports = {
"^.+\\.(css|scss)$": "<rootDir>/styleMock.js"
},
resolver: "jest-pnp-resolver",
setupFiles: [
"<rootDir>/src/testSetup.ts"
],
testMatch: [
"<rootDir>/src/**/*.test.ts?(x)"
],
Expand Down
Loading
Loading