chore(deps): update all non-major dependencies #1046
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
name: ci-main | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] # macos-latest, windows-latest | |
node: [18] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Prepare Dev | |
run: pnpm run dev:prepare | |
- name: Lint | |
run: pnpm run lint | |
- name: Build | |
run: pnpm run build | |
# - name: Version Check | |
# id: check | |
# uses: EndBug/version-check@v2 | |
# with: | |
# token: ${{ secrets.GITHUB_TOKEN }} | |
# - name: Release | |
# if: github.event_name == 'push' && steps.check.outputs.changed == 'true' | |
# run: ./scripts/release.sh | |
# env: | |
# NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} |