Skip to content

fix(deps): update dependency marked to v9 - autoclosed #483

fix(deps): update dependency marked to v9 - autoclosed

fix(deps): update dependency marked to v9 - autoclosed #483

Workflow file for this run

name: "CI"
on:
pull_request:
push:
branches:
- main
jobs:
Test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-2019]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install Pulsar
uses: pulsar-edit/[email protected]
- name: Install dependencies (Windows)
if: ${{ runner.os == 'Windows' }}
# Currently the Pulsar process starts, but unlike *nix doesn't wait for ppm to finish, probably because pulsar.cmd needs updated
# As of Pulsar version 1.108.0, a ppm binary has been included (which is a clone of apm) with the intention of fully moving away from the apm binary
run: ppm install --verbose
- name: Install dependencies (*nix)
if: ${{ runner.os != 'Windows' }}
run: pulsar --package install --verbose
- name: Run the headless Pulsar Tests
uses: coactions/[email protected]
with:
run: pulsar --test spec
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- name: NPM install
run: npm install
- name: Lint ✨
run: npm run lint
Release:
needs: [Test, Lint]
if: |
github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pulsar-edit/[email protected]
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- name: NPM install
run: npm install
- name: Shim apm call
run: |
cd /usr/bin/
# Only neccessary because of attempting to use the apm semantic-release config
sudo ln --symbolic --force /usr/bin/ppm apm
- name: Release 🎉
env:
#Used to allow the CI to push a new release automatically. Intrinsic to GitHub CI.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#Used by ppm to auth for publishing of packages
ATOM_ACCESS_TOKEN: ${{ secrets.PULSAR_ACCESS_TOKEN }}
run: npx semantic-release