-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
77 additions
and
4 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 @@ | ||
/.github/ @Mararok |
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,10 @@ | ||
name: Test | ||
description: 'execute tests' | ||
runs: | ||
using: 'composite' | ||
steps: | ||
# Yarn test | ||
- name: Test | ||
shell: bash | ||
run: yarn 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Pull Request | ||
on: | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6 | ||
- name: Yarn install | ||
uses: hexancore/yarn-ci-install@ba9baf131eba84b6c86efb46375a530a3098bb04 # 0.1.0 | ||
- name: Lint | ||
run: yarn lint | ||
- name: test | ||
uses: ./.github/actions/test | ||
- name: build | ||
run: yarn build |
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,39 @@ | ||
name: Publish | ||
env: | ||
HUSKY: 0 | ||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6 | ||
|
||
- name: Yarn install | ||
uses: hexancore/yarn-ci-install@ba9baf131eba84b6c86efb46375a530a3098bb04 # 0.1.0 | ||
- name: Test | ||
uses: ./.github/actions/test | ||
publish: | ||
needs: [check] | ||
permissions: | ||
contents: write | ||
id-token: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6 | ||
- name: Yarn install | ||
uses: hexancore/yarn-ci-install@ba9baf131eba84b6c86efb46375a530a3098bb04 # 0.1.0 | ||
- name: Build | ||
run: yarn build | ||
|
||
# Publish package | ||
- name: Publish | ||
shell: bash | ||
run: | | ||
npm publish --provenance --access public --tag latest | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
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 |
---|---|---|
@@ -1 +1,7 @@ | ||
nodeLinker: node-modules | ||
|
||
npmPublishRegistry: "https://registry.npmjs.org" | ||
|
||
npmRegistryServer: "https://registry.npmjs.org" | ||
|
||
yarnPath: .yarn/releases/yarn-4.1.0.cjs |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@hexancore/mocker", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"keywords": [ | ||
"mock", | ||
"typescript", | ||
|
@@ -20,9 +20,7 @@ | |
"engine-strict": true, | ||
"description": "Simple and magical mocks for TypeScript, works with jest and vitest", | ||
"author": { | ||
"name": "Andrzej Wasiak", | ||
"email": "[email protected]", | ||
"url": "https://andrzejwasiak.pl" | ||
"name": "Andrzej Wasiak" | ||
}, | ||
"license": "MIT", | ||
"main": "lib/index.js", | ||
|