Skip to content

chore(release): v1.3.1 #50

chore(release): v1.3.1

chore(release): v1.3.1 #50

Workflow file for this run

name: ci-main
on:
push:
branches:
- main
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest] # macos-latest, windows-latest
node: [18]
steps:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: checkout
uses: actions/checkout@master
- name: Install dependencies
run: npm install
- name: Prepare
run: npm run dev:prepare
- name: Lint
run: npm run lint
# - name: Typecheck
# run: npm run typecheck
- name: Build
run: npm run prepack
- name: Test
run: npm run test
- 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 }}