Skip to content

Commit

Permalink
chore: update config files
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user authored and dword-design committed Sep 21, 2022
1 parent 9119dd6 commit 875c28f
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 22 deletions.
33 changes: 17 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
with:
lfs: true
ref: ${{ github.event.pull_request.head.repo.full_name == github.repository &&
github.event.pull_request.head.ref || '' }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v2
with:
node-version: 14
- run: git config --global user.email "actions@github.com"
Expand All @@ -38,19 +38,17 @@ jobs:
needs: cancel-existing
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
with:
fetch-depth: 0
lfs: true
- uses: actions/setup-node@v3
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: yarn --frozen-lockfile
- env:
TEST_GITHUB_API_TOKEN: ${{ secrets.TEST_GITHUB_API_TOKEN }}
run: yarn test
- run: yarn test
- if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v2
with:
name: Image Snapshot Diffs
path: "**/__image_snapshots__/__diff_output__"
Expand All @@ -61,15 +59,18 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
strategy:
matrix:
include:
exclude:
- node: 12
os: macos-latest
- node: 12
os: ubuntu-latest
- node: 14
os: ubuntu-latest
- os: macos-latest
version: 14
- os: windows-latest
version: 14
os: windows-latest
node:
- 12
- 14
os:
- macos-latest
- windows-latest
- ubuntu-latest
name: build
on:
pull_request: {}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/deprecated-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
with:
lfs: true
- continue-on-error: true
Expand All @@ -20,11 +20,10 @@ jobs:
update_existing: true
- if: ${{ !steps.check-deprecated-js-deps.outputs.deprecated &&
steps.create-deprecation-issue.outputs.number }}
uses: peter-evans/close-issue@v2
uses: peter-evans/close-issue@v1
with:
comment: Auto-closing the issue
issue-number: ${{ steps.create-deprecation-issue.outputs.number }}
- uses: gautamkrishnar/keepalive-workflow@v1
name: deprecated-dependencies
on:
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: micnncim/action-label-syncer@v1
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/sync-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
- uses: jaid/action-sync-node-meta@v2.0.0
with:
approve: false
commitMessage: "fix: write GitHub metadata to package.json [{changes}]"
githubToken: ${{ secrets.GITHUB_TOKEN }}
- uses: gautamkrishnar/keepalive-workflow@v1
name: sync-metadata
on:
schedule:
Expand Down

0 comments on commit 875c28f

Please sign in to comment.