Skip to content

Merge pull request #13 from samcyn/main #3

Merge pull request #13 from samcyn/main

Merge pull request #13 from samcyn/main #3

Workflow file for this run

name: Release
on:
push:
branches:
- release
pull_request:
branches:
- release
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3 # Updated to the latest major version
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org/'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Cache Node Modules
uses: actions/cache@v3
with:
path: |
**/node_modules
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Release
run: yarn release:plugin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}