-
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
10 changed files
with
5,541 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
name: 'Setup test environment' | ||
description: '' | ||
name: "Setup test environment" | ||
description: "" | ||
inputs: {} | ||
outputs: {} | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install dependencies with yarn install | ||
using: "composite" | ||
steps: | ||
- name: Install dependencies with pnpm install | ||
shell: bash | ||
run: yarn install | ||
run: pnpm install |
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 |
---|---|---|
|
@@ -6,26 +6,26 @@ jobs: | |
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: ./.github/actions/setup-test-env | ||
- name: Test | ||
shell: bash | ||
run: yarn test | ||
- uses: actions/[email protected] | ||
- uses: ./.github/actions/setup-test-env | ||
- name: Test | ||
shell: bash | ||
run: pnpm test | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: ./.github/actions/setup-test-env | ||
- name: Lint | ||
shell: bash | ||
run: yarn lint | ||
- uses: actions/[email protected] | ||
- uses: ./.github/actions/setup-test-env | ||
- name: Lint | ||
shell: bash | ||
run: pnpm lint | ||
|
||
build-js: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: ./.github/actions/setup-test-env | ||
- name: Build | ||
shell: bash | ||
run: yarn build | ||
- uses: actions/[email protected] | ||
- uses: ./.github/actions/setup-test-env | ||
- name: Build | ||
shell: bash | ||
run: pnpm 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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules | ||
pkg | ||
pkg | ||
.direnv |
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,17 +1,17 @@ | ||
# Testing | ||
|
||
Gotta build the package, which you can do once with `yarn build`, or watch your local development directory and rebuild when things change with `yarn watch`. | ||
Gotta build the package, which you can do once with `pnpm build`, or watch your local development directory and rebuild when things change with `pnpm watch`. | ||
|
||
Then gotta use it somewhere, which tends to be easiest in a project. I use `yarn link` for this. | ||
Then gotta use it somewhere, which tends to be easiest in a project. I use `pnpm link` for this. | ||
|
||
# Releasing | ||
|
||
## Build the package | ||
|
||
Run `yarn build` | ||
Run `pnpm build` | ||
|
||
## Release the package | ||
|
||
Decide what type of new version you're gonna publish and bump the version with `npm version minor|major|patch` | ||
|
||
Run `yarn build && npm publish` | ||
Run `pnpm build && npm publish` |
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ npm install requirefire | |
or | ||
|
||
``` | ||
yarn add requirefire | ||
pnpm add requirefire | ||
``` | ||
|
||
## Usage | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.