Skip to content

build(deps): bump @actions/core from 1.10.1 to 1.11.0 #1065

build(deps): bump @actions/core from 1.10.1 to 1.11.0

build(deps): bump @actions/core from 1.10.1 to 1.11.0 #1065

Workflow file for this run

name: CI
on:
pull_request:
types: [opened, synchronize, reopened, closed]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Check formatting
run: npm run format-check
- name: Build
run: npm run build --if-present
- name: Package artifacts
run: npm run package
- name: Run Tests
run: npm run test-verbose
env:
CI: true
- name: Prepare post-merge steps
if: >
github.event.action == 'closed' &&
github.event.pull_request.merged
run: git checkout ${{ github.event.pull_request.base.ref }}
- name: Publish artifacts
if: >
github.event.action == 'closed' &&
github.event.pull_request.merged
uses: EndBug/add-and-commit@v9
with:
commit: --signoff
default_author: user_info
fetch: false
message: 'dist: build new artifacts'
push: true
- name: Create and move next-preview tag
if: >
github.event.action == 'closed' &&
github.event.pull_request.merged && (
github.event.pull_request.base.ref == 'main' ||
startsWith(github.event.pull_request.base.ref, 'release')
)
run: |
git tag v3.next-preview --force
git push origin v3.next-preview --force