Skip to content

Commit

Permalink
ci: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
EndBug committed Jun 26, 2022
1 parent 998652d commit 1308272
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 47 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/build.yml

This file was deleted.

7 changes: 3 additions & 4 deletions .github/workflows/label-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Sync labels
on:
push:
branches:
- master
- main
paths:
- '.github/labels.yml'
workflow_dispatch:
Expand All @@ -12,8 +12,7 @@ jobs:
name: Run EndBug/label-sync
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: EndBug/label-sync@v1
- uses: actions/checkout@v3
- uses: EndBug/label-sync@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: '.github/labels.yml'
18 changes: 12 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,23 @@ on:

jobs:
build:
name: Test build
name: Build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: npm i
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: npm
- run: npm ci
- run: npm run build

lint:
name: Check linting
name: Lint
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: npm i
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: npm
- run: npm ci
- run: npm run lint
10 changes: 4 additions & 6 deletions .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
name: Keep the versions up-to-date
name: Update tags

on:
release:
types: [published, edited]

jobs:
actions-tagger:
runs-on: windows-latest
runs-on: windows-2022
steps:
- uses: Actions-R-Us/actions-tagger@v1
- uses: Actions-R-Us/actions-tagger@v2
with:
publish_latest: true
env:
GITHUB_TOKEN: "${{secrets.GITHUB_TOKEN}}"
publish_latest_tag: true

0 comments on commit 1308272

Please sign in to comment.