-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from simplabs/pnpm
- Loading branch information
Showing
4 changed files
with
5,330 additions
and
5,283 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,13 +1,19 @@ | ||
name: CI | ||
|
||
env: | ||
PNPM_VERSION: 6.29.1 | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
- 'v*' | ||
pull_request: | ||
branches: | ||
- master | ||
pull_request: {} | ||
|
||
concurrency: | ||
group: ci-${{ github.head_ref || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
lint: | ||
|
@@ -16,12 +22,16 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: ${{ env.PNPM_VERSION }} | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16.x | ||
|
||
- run: yarn install | ||
- run: yarn lint | ||
- name: Install Dependencies | ||
run: pnpm install | ||
- name: Lint | ||
run: pnpm run lint | ||
|
||
test: | ||
name: Tests | ||
|
@@ -34,9 +44,14 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: ${{ env.PNPM_VERSION }} | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install Dependencies | ||
run: pnpm install | ||
- name: Run Tests | ||
run: pnpm run test | ||
|
||
- run: yarn install | ||
- 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
Oops, something went wrong.