LibJS: Remember arrow function parsing failures by offset #6581
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Social media notifications | |
on: [ push ] | |
jobs: | |
notify_twitter: | |
runs-on: ubuntu-22.04 | |
if: always() && github.repository == 'SerenityOS/serenity' && github.ref == 'refs/heads/master' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '14' | |
- run: npm i twit | |
- run: | | |
node ${{ github.workspace }}/Meta/tweet-commits.js << 'EOF' | |
${{ toJSON(github.event) }} | |
EOF | |
env: | |
CONSUMER_KEY: ${{ secrets.CONSUMER_KEY }} | |
CONSUMER_SECRET: ${{ secrets.CONSUMER_SECRET }} | |
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
ACCESS_TOKEN_SECRET: ${{ secrets.ACCESS_TOKEN_SECRET }} | |
notify_mastodon: | |
runs-on: ubuntu-22.04 | |
if: always() && github.repository == 'SerenityOS/serenity' && github.ref == 'refs/heads/master' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '14' | |
- run: npm i mastodon | |
- run: | | |
node ${{ github.workspace }}/Meta/toot-commits.js << 'EOF' | |
${{ toJSON(github.event) }} | |
EOF | |
env: | |
ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }} |