Skip to content

Commit

Permalink
chore: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
steabert committed Apr 1, 2024
1 parent 32f80cb commit 6b2e67a
Show file tree
Hide file tree
Showing 7 changed files with 895 additions and 23 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
lfs: true

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
steps:
- uses: extractions/setup-just@v1
- uses: actions/checkout@v3
with:
lfs: true

- name: Extract version number
id: vars
Expand All @@ -27,6 +25,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '18'
cache: yarn
registry-url: 'https://registry.npmjs.org'

- name: Build
Expand Down Expand Up @@ -80,8 +79,8 @@ jobs:

- name: Deploy NPM packages
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: |
npm publish --workspace overlay --tag latest
npm publish --workspace player --tag latest
npm publish --workspace streams --tag latest
cd overlay && yarn npm publish --tag latest
cd player && yarn npm publish --tag latest
cd streams && yarn npm publish --tag latest
20 changes: 8 additions & 12 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ jobs:
steps:
- uses: extractions/setup-just@v1
- uses: actions/checkout@v3
with:
lfs: true
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- name: Install dependencies
run: just install
- name: Build
Expand All @@ -46,12 +45,11 @@ jobs:
steps:
- uses: extractions/setup-just@v1
- uses: actions/checkout@v3
with:
lfs: true
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
cache: yarn
- name: Install dependencies
run: just install
- name: Build
Expand All @@ -77,12 +75,11 @@ jobs:
steps:
- uses: extractions/setup-just@v1
- uses: actions/checkout@v3
with:
lfs: true
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
cache: yarn
- name: Install dependencies
run: just install
- name: Build
Expand All @@ -100,12 +97,11 @@ jobs:
steps:
- uses: extractions/setup-just@v1
- uses: actions/checkout@v3
with:
lfs: true
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
cache: yarn
- name: Install dependencies
run: just install
- name: Build
Expand Down
875 changes: 875 additions & 0 deletions .yarn/releases/yarn-3.8.1.cjs

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ nmMode: hardlinks-local
nodeLinker: node-modules
enableScripts: false

npmAuthToken: "${NPM_AUTH_TOKEN-undefined}"

supportedArchitectures:
cpu:
- x64
- arm64
os:
- darwin
- linux

yarnPath: .yarn/releases/yarn-3.8.1.cjs
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
This repository hosts 3 different libraries used for playback
of video streams and enabling simpler SVG overlays.

You'll need git LFS support to use this repository, as well
as a local installation of Node.js.
For development, you'll need a local installation of [Node.js](https://nodejs.org/),
and [yarn](https://v3.yarnpkg.com/) to install dependencies.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ format +FILES="`just changed`":

# install dependencies
install:
CYPRESS_INSTALL_BINARY=0 && npm ci
CYPRESS_INSTALL_BINARY=0 && yarn install --immutable

# check lint rules and formatting for changed files
lint workspace:
Expand Down

0 comments on commit 6b2e67a

Please sign in to comment.