diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 8b2a593..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Build -on: - push: - branches: - - master - paths: - - src/** - - .github/workflows/build.yml - workflow_dispatch: - -jobs: - build: - name: Build compiled JS version - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - uses: actions/setup-node@v1 - with: - node-version: 12.x - - - run: npm install - - - run: npm run build - - - uses: EndBug/add-and-commit@v4 - with: - message: '[auto] build: update compiled version' - add: lib - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/label-sync.yml b/.github/workflows/label-sync.yml index 59976cf..98f0f45 100644 --- a/.github/workflows/label-sync.yml +++ b/.github/workflows/label-sync.yml @@ -2,7 +2,7 @@ name: Sync labels on: push: branches: - - master + - main paths: - '.github/labels.yml' workflow_dispatch: @@ -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' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9f71846..d57fd8f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/.github/workflows/versioning.yml b/.github/workflows/versioning.yml index da2e983..b9def1a 100644 --- a/.github/workflows/versioning.yml +++ b/.github/workflows/versioning.yml @@ -1,4 +1,4 @@ -name: Keep the versions up-to-date +name: Update tags on: release: @@ -6,10 +6,8 @@ on: 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