refactor: latest nibijs #28
Workflow file for this run
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: ["releases/*"] | |
permissions: | |
contents: read | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
id-token: write | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup NodeJS and npm | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "lts/hydrogen" | |
- name: Install yarn using npm | |
run: npm install -g yarn | |
- name: Setup NodeJS with yarn caching | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "lts/hydrogen" | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn --prefer-offline --check-files | |
- name: Packages Build | |
run: yarn build | |
- name: Semantic Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.NIBIBOT_GIT_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: yarn semantic-release |