Skip to content

ci: changed deploy steps #3

ci: changed deploy steps

ci: changed deploy steps #3

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Setup Corepack
run: corepack enable
- name: Install dependencies
run: corepack npm install
- name: Build project
run: corepack npm run build
- name: Run Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: corepack npm run release