chore: update
This commit is contained in:
1 parent
f1d73e195d
commit
b6d7f4fcab
11 files changed
+587
-2207
No files matched your search
@@ -0,0 +1,34 @@
|
||||
name: Lint Fix
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v2.0.1
|
||||
with:
|
||||
version: 6.15.1
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16.x
|
||||
registry-url: https://registry.npmjs.org/
|
||||
cache: "pnpm"
|
||||
|
||||
- run: pnpm install
|
||||
|
||||
- name: Lint Fix
|
||||
run: pnpm run lint -- --fix
|
||||
|
||||
- uses: EndBug/add-and-commit@v7
|
||||
with:
|
||||
message: 'chore: fix lint'
|
||||
@@ -11,23 +11,11 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# - name: Install pnpm
|
||||
# uses: pnpm/action-setup@v2.0.1
|
||||
# with:
|
||||
# version: 6.15.1
|
||||
|
||||
- name: Set node version to ${{ matrix.node_version }}
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node_version }}
|
||||
cache: "pnpm"
|
||||
|
||||
# - run: pnpm i -g @antfu/ni
|
||||
# - run: nci
|
||||
# - run: nr test --if-present
|
||||
# - run: npm publish --access public
|
||||
# env:
|
||||
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||
|
||||
- run: npx conventional-github-releaser -p angular
|
||||
env:
|
||||
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.x, 14.x]
|
||||
node-version: [14.x, 16.x]
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
fail-fast: false
|
||||
|
||||
@@ -39,8 +39,8 @@ jobs:
|
||||
- name: Install
|
||||
run: nci
|
||||
|
||||
# - name: Lint
|
||||
# run: nr lint --if-present
|
||||
- name: Install
|
||||
run: nr build
|
||||
|
||||
- name: Test
|
||||
run: nr test --if-present
|
||||
Reference in new issue
Block a user