build(deps-dev): bump prettier
from 2.6.2 to 3.3.2 (#59)
#51
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: Semantic release | |
on: | |
push: | |
branches: | |
- master | |
env: | |
DEPENDENCIES_CACHE: npm-cache | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.GPR_TOKEN }} | |
- name: Set Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18 | |
- name: Cache npm modules | |
uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: ${{ env.DEPENDENCIES_CACHE }}-${{ hashFiles('package-lock.json') }} | |
restore-keys: | | |
${{ env.DEPENDENCIES_CACHE }}- | |
- name: Install deps in quiet mode | |
run: npm ci -q | |
- name: Release a new version | |
run: npm run semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GPR_TOKEN }} |