Skip to content

chore(deps): update devdependency eslint to ^8.48.0 #308

chore(deps): update devdependency eslint to ^8.48.0

chore(deps): update devdependency eslint to ^8.48.0 #308

Workflow file for this run

name: "CI"
on:
pull_request:
push:
branches:
- master
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
# So we'll fallback to ppm (still named apm) instead
run: apm 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/master'
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