Skip to content

chore(deps): update actions/setup-node action to v4 #1369

chore(deps): update actions/setup-node action to v4

chore(deps): update actions/setup-node action to v4 #1369

Workflow file for this run

name: Release
on:
push:
branches: [ master, alpha, beta ]
pull_request:
branches: [ master, alpha, beta ]
jobs:
release:
name: Release
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Test
run: npm run test --if-present
- name: Build
run: npm run build --if-present
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release