build(package.json): cleanup of npm from engine requirements #103
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: Release | |
on: | |
# will run for every branch, except tags. See RSRMID-206. | |
push: | |
# Sequence of patterns matched against refs/heads | |
branches: | |
- "master" | |
jobs: | |
build: | |
name: "Build" | |
uses: ./.github/workflows/test.yml | |
release: | |
name: Release @ ubuntu-latest | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup NodeJS ${{ vars.RTLDEV_MW_CI_NODE_VERSION }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ vars.RTLDEV_MW_CI_NODE_VERSION }} | |
check-latest: true | |
- name: Install dependencies | |
run: npm ci | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
RTLDEV_MW_NOTIFICATION_URI: ${{ secrets.RTLDEV_MW_NOTIFICATION_URI }} | |
run: npx semantic-release |