Skip to content

remove old keys

remove old keys #30

Workflow file for this run

name: CI
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- run: npm install
- id: formatCheck
run: npm run formatCheck
- id: prepack
run: npm run prepack
- name: Add PR Comment
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const summary = JSON.parse(process.env.summary);
let table = '| Language | Status | Missing keys |\n| --- | --- | --- |\n';
summary.slice(1).forEach(row => {
table += `| ${row[0]} | ${row[1]} | ${row[2]} |\n`;
});
await github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `Build summary: \n\n${table}`
})
env:
summary: ${{ steps.prepack.outputs.summary }}