-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GHA build, rename scope to @evidenceprime #1
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
|
||
jobs: | ||
buildAndPublish: | ||
name: Build and publish to NPM (GH) | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
cache: 'yarn' | ||
registry-url: https://npm.pkg.github.com | ||
- name: Install dependencies | ||
run: yarn --frozen-lockfile | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Build | ||
run: yarn build | ||
- name: Release | ||
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }} | ||
run: yarn release | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Notify Google Chat | ||
uses: evidenceprime/google-chat-notifications@master | ||
if: ${{ always() && github.event_name == 'push' }} | ||
with: | ||
title: "Buffer" | ||
subtitle: ${{ github.event.head_commit.message }} | ||
webhookUrl: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }} | ||
threadKey: QexDHE9oqjI | ||
status: ${{ job.status }} |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@ep/buffer", | ||
"name": "@evidenceprime/buffer", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is about pipelines def: if we are removing this, let's remove pipeline on Azure side. |
||
"description": "Node.js Buffer API, for the browser", | ||
"version": "6.0.9", | ||
"version": "6.0.10", | ||
"main": "./buffer.js", | ||
"engines": { | ||
"node": ">=8.0" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@ep/buffer", | ||
"name": "@evidenceprime/buffer", | ||
"description": "Node.js Buffer API, for the browser", | ||
"version": "6.0.9", | ||
"version": "6.0.10", | ||
"author": { | ||
"name": "Feross Aboukhadijeh", | ||
"email": "[email protected]", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add running tests before build + reporting results? If this is not possible, then we can remove permission for
checks
andstatuses
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like tests here require credentials to some SaaS (or a local browser manually launched) to run.