Skip to content

Commit

Permalink
chore: update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallAsch committed Jan 10, 2025
1 parent 1c7ac1b commit 0082432
Show file tree
Hide file tree
Showing 5 changed files with 5,697 additions and 7,826 deletions.
17 changes: 0 additions & 17 deletions .github/actions/setup/action.yml

This file was deleted.

19 changes: 10 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ on:

concurrency: ${{ github.workflow }}-${{ github.ref }}

env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
# env:
# TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
# TURBO_TEAM: ${{ secrets.TURBO_TEAM }}

jobs:
release:
name: Release
runs-on: buildjet-2vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -26,14 +26,15 @@ jobs:

- uses: pnpm/action-setup@v4

- uses: buildjet/setup-node@v4
- uses: actions/setup-node@v4
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
node-version: "20"
node-version-file: package.json
cache: "pnpm"
scope: '@plexinc'

- name: Set up environment
uses: ./.github/actions/setup
timeout-minutes: 5
- run: pnpm install --frozen-lockfile

- name: Create release pull request or publish
id: changesets
Expand Down
70 changes: 0 additions & 70 deletions .github/workflows/snapshot.yml

This file was deleted.

18 changes: 7 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Run tests

on:
pull_request:
branches:
- main
push:
branches:
- main
Expand All @@ -17,26 +19,20 @@ env:
jobs:
test:
name: Run tests
runs-on: buildjet-2vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
if: ${{ github.event_name != 'pull_request' }}

- uses: actions/checkout@v4
if: ${{ github.event_name == 'pull_request' }}
with:
ref: ${{ github.event.pull_request.head.sha }}
ref: ${{ github.event.pull_request.head.sha || github.ref }}

- uses: pnpm/action-setup@v4

- uses: buildjet/setup-node@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version-file: package.json
cache: "pnpm"

- name: Set up environment
uses: ./.github/actions/setup
timeout-minutes: 5
- run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm run lint
Expand Down
Loading

0 comments on commit 0082432

Please sign in to comment.