Skip to content

chore(deps): bump date-fns from 2.30.0 to 4.0.0 #165

chore(deps): bump date-fns from 2.30.0 to 4.0.0

chore(deps): bump date-fns from 2.30.0 to 4.0.0 #165

name: Release manager
on:
issue_comment:
types: [created]
concurrency:
group: release-manager
cancel-in-progress: false
jobs:
specific-issue-job:
runs-on: ec2-runners
container:
image: public.ecr.aws/m3u4c4h9/island-is/actions-runner-public:latest
permissions: write-all
if: |
github.event.issue.number == vars.RELEASE_ISSUE &&
contains(fromJson(vars.RELEASE_MANAGERS), github.event.comment.user.login) &&
startsWith(github.event.comment.body, 'release ')
steps:
- name: Extract SHA from comment
id: extract_sha
run: |
echo "::set-output name=sha::$(echo "${{ github.event.comment.body }}" | awk '{print $2}')"
- name: SHA
run: echo ${{ steps.extract_sha.outputs.sha }}
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "main"
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
check-latest: false
cache: "yarn"
cache-dependency-path: "yarn.lock"
- name: Install dependencies
run: yarn install
- name: Pipe release
env:
GITHUB_TOKEN: ${{ secrets.PT_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PIPES_ACTION: CreateRelease
RELEASE_SHA: ${{ steps.extract_sha.outputs.sha }}
run: yarn node src/ci.tsx
working-directory: ./ci