Merge pull request #239 from wix-incubator/dependabot/github_actions/… #174
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: | |
push: | |
branches: | |
- master | |
- alpha | |
- beta | |
- next | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout Repo | |
uses: actions/checkout@v4 | |
- name: ⬢ Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '*' | |
cache: yarn | |
- name: 🔑 Setup NPM | |
run: | | |
npm set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" | |
- name: 📦 Install Packages | |
run: yarn install --frozen-lockfile | |
- name: ⚙️ Build Packages | |
run: yarn build | |
- name: 👤 Setup Identity | |
run: | | |
git config user.name "${{ github.actor }}" | |
git config user.email "${{ github.actor}}@users.noreply.github.com" | |
- name: 🚀 Release | |
run: yarn release | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |